@Override
  public boolean isHosting() {
    return getBucketAdvisor().isHosting();
  }
the partitioned region to which this bucket belongs
geode-core/src/main/java/org/apache/geode/internal/cache/BucketRegion.java