public static boolean isNeedsValue(byte b) {
    return (b & (INVALID | LOCAL_INVALID | TOMBSTONE)) == 0;
  }
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