public static byte setWithVersions(byte b, boolean isWithVersions) {
    return isWithVersions ? (byte) (b | WITH_VERSIONS) : (byte) (b & ~WITH_VERSIONS);
  }
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