public static byte setSerialized(byte b, boolean isSerialized) {
    return isSerialized ? (byte) (b | SERIALIZED) : (byte) (b & ~SERIALIZED);
  }
If it is not invalid and not local_invalid then we need a value.
geode-core/src/main/java/org/apache/geode/internal/cache/EntryBits.java