(self)
return (self.distribution.has_pure_modules() or
                self.distribution.has_ext_modules())
Returns true if the current distribution has any Python
        modules to install.
Returns true if the current distribution has any Python
        modules to install.
Returns true if the current distribution has any Python modules to install .
def has_lib(self):
        """Returns true if the current distribution has any Python
        modules to install."""
        return (self.distribution.has_pure_modules() or
                self.distribution.has_ext_modules())
def has_lib ( self ) : return ( self . distribution . has_pure_modules ( ) or self . distribution . has_ext_modules ( ) )