parameters: (self, package)
docstring: Return true if 'exclude_package(package)' would do something
docstring_summary: Return true if 'exclude_package(package)' would do something
docstring_tokens: Return true if exclude_package ( package ) would do something
function: def has_contents_for(self, package):
          """Return true if 'exclude_package(package)' would do something"""
  
          pfx = package + '.'
  
          for p in self.iter_distribution_names():
              if p == package or p.startswith(pfx):
                  return True
function_tokens: def has_contents_for ( self , package ) : pfx = package + '.' for p in self . iter_distribution_names ( ) : if p == package or p . startswith ( pfx ) : return True