public boolean hasReferences() {
    return stores.values().stream().anyMatch(HStore::hasReferences);
  }
Returns True if this region has references.
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java