(context)
return _ENFORCER.enforce('context_is_admin', target, credentials)
Whether or not user is admin according to policy setting.
Whether or not user is admin according to policy setting.
Whether or not user is admin according to policy setting .
def check_is_admin(context):
    """Whether or not user is admin according to policy setting.

    """
    init()
    target = {}
    credentials = context.to_dict()
    return _ENFORCER.enforce('context_is_admin', target, credentials)
def check_is_admin ( context ) : init ( ) target = { } credentials = context . to_dict ( ) return _ENFORCER . enforce ( 'context_is_admin' , target , credentials )