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

        return creds['is_admin'] == self.expected
Determine whether is_admin matches the requested value.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/policy.py/IsAdminCheck.__call__