def is_public(self, name):
return name in self.refdoc<EOL>
Returns `True` if and only if an identifier with name `name` is
part of the public interface of this module. While the names
of sub-modules are included, identifiers only exported by
sub-modules are not checked.

`name` should be a fully qualified name, e.g.,
<code>pydoc.Module.is_public</code>.