boolean isPartitionedRegionOpen() {
    return !partitionedRegion.isLocallyDestroyed && !partitionedRegion.isClosed
        && !partitionedRegion.isDestroyed();
  }
check to see if the partitioned region is locally destroyed or closed
geode-core/src/main/java/org/apache/geode/internal/cache/BucketRegion.java