code: private boolean isSessionValid(final SessionData session) {
          return !sessionController.isCreatingSession() && session != null && session.getSessionId() != null && session.getAccessToken() != null;
      }
docs: Is session successfully created.
  
  @param session SessionData instance to validate.
  @return True if session is created.