public boolean isPartitionedRegionReady(PartitionedRegion partitionedRegion, final int bucketId) {
    List<PartitionedRegion> colocatedWithList = getColocatedChildRegions(partitionedRegion);
    if (colocatedWithList.size() == 0) {
      return partitionedRegion.isInitialized();
    }
    return areAllColocatedPartitionedRegionsReady(bucketId, colocatedWithList);
  }
Report an estimate of the number of primary buckets managed locally The result of this method
is not stable.
geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegionDataStore.java