boolean justSerialized() {
    return serialized.getAndSet(false);
  }
This is called on deserialization. You can only call it once to get a meaningful value as it
resets the serialized state. In other words, this call is not idempotent.

@return whether this object has just been serialized
extensions/geode-modules-session-internal/src/main/java/org/apache/geode/modules/session/internal/filter/GemfireHttpSession.java