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.
dataset/ETHPy150Open openstack/nova/nova/quota.py/_valid_method_call_check_resources