code: @Override
      public boolean isPostback(FacesContext context)
      {
          return context.getExternalContext().getRequestParameterMap().containsKey(ResponseStateManager.VIEW_STATE_PARAM);
      }
docs: Checks if the current request is a postback
  
  @since 1.2