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