private boolean mayHaveOffHeapReferences() {
    if (offHeapLock == null) {
      return false;
    }

    InternalRegion lr = getRegion();
    if (lr != null) {
      return lr.getOffHeap();
    }
    // if region field is null it is possible that we have off-heap values
    return true;
  }
Return true if this EntryEvent may have off-heap references.
geode-core/src/main/java/org/apache/geode/internal/cache/EntryEventImpl.java