docs: public boolean isClientSideWindowHandlerRequest(FacesContext facesContext)
      {
          if (!isJavaScriptEnabled())
          {
              return false;
          }
  
          String userAgent = getUserAgent(facesContext);
  
          if (userAgent != null &&
              ( userAgent.indexOf("bot")     >= 0 || // Googlebot, etc
                userAgent.indexOf("Bot")     >= 0 || // BingBot, etc
                userAgent.indexOf("Slurp")   >= 0 || // Yahoo Slurp
                userAgent.indexOf("Crawler") >= 0    // various other Crawlers
              ) )
          {
              return false;
          }
  
          return true;
      }