docs: public Session getOpenSession() {
          Session openSession = getSession();
          if (openSession != null && openSession.isOpened()) {
              return openSession;
          }
          return null;
      }