public static boolean isPartitionedRegion(final Region<?, ?> r) {
    if (r == null) {
      throw new IllegalArgumentException(
          "Argument 'Region' is null");
    }
    return r instanceof PartitionedRegion;
  }
Test a Region to see if it is a partitioned Region

@param r the region
@return true if it is a partitioned Region
@since GemFire 6.0
geode-core/src/main/java/org/apache/geode/cache/partition/PartitionRegionHelper.java