private static boolean isPdxEncoded(byte[] v) {
    // assert v != null;
    if (v.length > 0) {
      return v[0] == DSCODE.PDX.toByte();
    }
    return false;
  }
Creates and returns an instance of CachedDeserializable that contains the specified byte array.
geode-core/src/main/java/org/apache/geode/internal/cache/CachedDeserializableFactory.java