parameters: (self, package_or_requirement, resource_name)
return_statement: return get_provider(package_or_requirement).has_resource(resource_name)
docstring: Does the named resource exist?
docstring_summary: Does the named resource exist?
docstring_tokens: Does the named resource exist?
function: def resource_exists(self, package_or_requirement, resource_name):
          """Does the named resource exist?"""
          return get_provider(package_or_requirement).has_resource(resource_name)
function_tokens: def resource_exists ( self , package_or_requirement , resource_name ) : return get_provider ( package_or_requirement ) . has_resource ( resource_name )