public boolean isPrimaryForBucket(int bucketId) {
    if (buckets == null) {
      return false;
    }
    return buckets[bucketId].isPrimary();
  }
return the set of all members who must receive operation notifications

@since GemFire 5.1
geode-core/src/main/java/org/apache/geode/internal/cache/partitioned/RegionAdvisor.java