private static boolean disallowJavaSerialization() {
    Boolean v = DISALLOW_JAVA_SERIALIZATION.get();
    return v != null && v;
  }
returns true if the byte array is the serialized form of a null reference

@param serializedForm the serialized byte array
geode-core/src/main/java/org/apache/geode/internal/InternalDataSerializer.java