code: private boolean isDisplayToolbar(HttpServletRequest request) {
  
          // display the toolbar by default
          boolean displayToolbar = true;
          if (CmsHistoryResourceHandler.isHistoryRequest(request)) {
              // we do not want to display the toolbar in case of an historical request
              displayToolbar = false;
          }
          return displayToolbar;
      }
docs: Checks if the toolbar should be displayed.<p>
  
  @param request the current request to get the default locale from
  
  @return <code>true</code> if the toolbar should be displayed