code: public Boolean isKeepAlive(boolean useDefault) {
  
          if (m_keepAlive != null) {
              return m_keepAlive;
          }
          if (useDefault) {
              return Boolean.TRUE;
          } else {
              return null;
          }
  
      }
docs: Returns true if the session should be kept alive.<p>
  
  @param useDefault if true, the default value will be returned if the "keep alive" setting is not explicitly configured
  
  @return True if the "keep alive" mode is active