public static boolean entryIsLocal(Region.Entry re) {
    if (re instanceof EntrySnapshot) {
      return ((EntrySnapshot) re).wasInitiallyLocal();
    } else {
      return re.isLocal();
    }
  }
Tests creating subregions. Note that this tests accesses the Region's
{@link Region#getStatistics statistics}, so the region must have been created with statistics
enabled.
geode-dunit/src/main/java/org/apache/geode/cache30/RegionTestCase.java