code: private boolean _isRedirectTrueOnThisRequest(FacesContext facesContext)
      {
          ExternalContext externalContext = facesContext.getExternalContext();
          Map<String, Object> requestMap = externalContext.getRequestMap();
          Boolean redirect = (Boolean) requestMap.get(FLASH_REDIRECT);
          
          return Boolean.TRUE.equals(redirect);
      }
docs: Return true if setRedirect(true) was called on this request.
  @param facesContext
  @return