public boolean isRegionOffline(final RegionInfo regionInfo) {
    return isRegionInState(regionInfo, State.OFFLINE, State.CLOSED);
  }
Returns True if region is offline (In OFFLINE or CLOSED state).
hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/RegionStates.java