code: public boolean startSession() {
  
          synchronized (sharedLock) {
              SessionData session = loadSession();
              if (isSessionActive(session)) {
                  sharedLock.notifyAll();
                  return false;
              } else {
                  clearAll();
              }
              sharedLock.notifyAll();
          }
  
          return true;
      }
docs: Creates session if no session is active.
  
  @return True if session was created. If false there is a opened session already. End this session first.