def __call__(self, target, cred, enforcer):

        for rule in self.rules:
            if not rule(target, cred, enforcer):
                return False

        return True
Check the policy.
dataset/ETHPy150Open CiscoSystems/avos/openstack_dashboard/openstack/common/policy.py/AndCheck.__call__