public static boolean wrapOffHeapReference(Object o) {
      if (o instanceof StoredObject) {
        return ((StoredObject) o).hasRefCount();
      }
      return false;
    }
Returns true if the given object is off-heap and it is worth wrapping a reference to it
instead of copying its data to the heap. Currently all StoredObject's with a refCount are
wrapped.
geode-core/src/main/java/org/apache/geode/internal/cache/entries/DiskEntry.java