def _valid_method_call_check_resources(resource, method):
 for name in resource.keys():
  _valid_method_call_check_resource(name, method)

def _valid_method_call_check_resources ( resource , method ) : for name in resource . keys ( ) : _valid_method_call_check_resource ( name , method )
a method to check whether the resource can use the quota method .