code: protected final SessionState getSessionState() {
          if (sessionTracker != null) {
              Session currentSession = sessionTracker.getSession();
              return (currentSession != null) ? currentSession.getState() : null;
          }
          return null;
      }
docs: Gets the current state of the session or null if no session has been created.
  
  @return the current state of the session