code: public static boolean isAdmin(IAuthorizationPrincipal ap) {
          IGroupMember member = AuthorizationServiceFacade.instance().getGroupMember(ap);
          return isAdmin(member);
      }
docs: Determines if the passed-in authorization principal represents a user that is a member of the
  administrator group or any of its sub groups.