def _UserHasAdminLabel(self, subject, token):
    return CheckUserForLabels(token.username, ["admin"], token=token)
Checks whether a user has admin label. Used by CheckAccessHelper.
dataset/ETHPy150Open google/grr/grr/lib/aff4_objects/user_managers.py/FullAccessControlManager._UserHasAdminLabel