Concrete implementation of InspectLoader.is_package by checking if the path returned by get_filename has a filename of '__init__.py'.
importlib.machinery/SourceFileLoader.is_package
SourceFileLoader.is_package