+# Do not show/keep ghosts iff they have no children. Sometimes
+# a ghost Message-ID is the result of a long header line
+# being folded/mangled by a MUA, and not a missing message.
+sub visible ($$) {
+ my ($self, $srch) = @_;
+ ($self->{smsg} ||= eval { $srch->lookup_mail($self->{id}) }) ||
+ (scalar values %{$self->{children}});
+}
+