@Override
  public boolean isDestroyed() {
    // TODO prpersist - Added this if null check for the partitioned region
    // because we create the disk store for a bucket *before* in the constructor
    // for local region, which is before this final field is assigned. This is why
    // we shouldn't do some much work in the constructors! This is a temporary
    // hack until I move must of the constructor code to region.initialize.
    return isBucketDestroyed() || (partitionedRegion != null
        && partitionedRegion.isLocallyDestroyed && !isInDestroyingThread());
  }
This method is called when a miss from a get ends up finding an object through a cache loader
or from a server. In that case we want to make sure that we don't move this bucket while
putting the value in the ache.

@see LocalRegion#basicPutEntry(EntryEventImpl, long)
geode-core/src/main/java/org/apache/geode/internal/cache/BucketRegion.java