public boolean areBucketsInitialized() {
    return buckets != null;
  }
Returns true if the bucket is currently being hosted locally. Note that as soon as this call
returns, this datastore may begin to host the bucket, thus two calls in a row may be different.

@param bucketId the index of the bucket to check
@return true if the bucket is currently being hosted locally
geode-core/src/main/java/org/apache/geode/internal/cache/partitioned/RegionAdvisor.java