docs: protected final XMPPConnection getAuthenticatedConnectionOrThrow() throws NotLoggedInException {
          XMPPConnection connection = connection();
          if (!connection.isAuthenticated()) {
              throw new NotLoggedInException();
          }
          return connection;
      }