docs: public static boolean isAdmin(IPerson p) {
          IAuthorizationPrincipal iap =
                  AuthorizationServiceFacade.instance()
                          .newPrincipal(
                                  p.getEntityIdentifier().getKey(),
                                  p.getEntityIdentifier().getType());
  
          return isAdmin(iap);
      }