code: public static boolean isJTPSlot() {
          return Thread.currentThread().getName().startsWith(GlobalFacadeBase.JTP_BASE_NAME)
                  || Thread.currentThread().getName().startsWith(GlobalFacadeBase.HPTP_BASE_NAME);
      }
docs: Return true if we are into a slot of the thread pool (JTP).
  
  @return true if currentThread == one of JTP slot