code: public boolean isEmpty() {
          for (String key : data.keySet()) {
              if (!TS_KEY.equals(key)) {
                  return false;
              }
          }
          return true;
      }
docs: Returns true if the session is empty,
  e.g. does not contain anything else than the timestamp