public void checkClosedOrDestroyed() {
    checkClosed();
    if (isDestroyed()) {
      throw new RegionDestroyedException(toString(), getFullPath());
    }
  }
This method checks if region is closed or destroyed.
geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegion.java