def is_package(self):
return hasattr(self.module, '<STR_LIT>')<EOL>
Returns `True` if this module is a package.

Works by checking if `__package__` is not `None` and whether it
has the `__path__` attribute.