(self, fullname)
return hasattr(self.__get_module(fullname), "__path__")
Return true, if the named module is a package.

        We need this method to get correct spec objects with
        Python 3.4 (see PEP451)
Return true, if the named module is a package.
Return true if the named module is a package .
def is_package(self, fullname):
        """
        Return true, if the named module is a package.

        We need this method to get correct spec objects with
        Python 3.4 (see PEP451)
        """
        return hasattr(self.__get_module(fullname), "__path__")
def is_package ( self , fullname ) : return hasattr ( self . __get_module ( fullname ) , "__path__" )