code: public boolean isAuthenticated() {
          try {
              return IS_AUTHENTICATED_AUTHORIZER.isAuthorized(null, getAll(true));
          } catch (final HttpAction e) {
              throw new TechnicalException(e);
          }
      }
docs: Tests if the current user is authenticated (meaning a user profile exists which is not an {@link AnonymousProfile}).
  
  @return whether the current user is authenticated