code: public static boolean isAnonymousRequest(HttpServletRequest request) {
  		return request != null &&
  				(StringUtils.startsWith(request.getHeader(HttpHeaders.AUTHORIZATION), "Anonymous") ||
  					StringUtils.isBlank(request.getHeader(HttpHeaders.AUTHORIZATION)));
  	}
docs: Check if Authorization header starts with 'Anonymous'. Used for guest access.
  @param request a request
  @return true if user is unauthenticated