public boolean isRegionInState(RegionInfo regionInfo, State... state) {
    RegionStateNode regionNode = getRegionStateNode(regionInfo);
    if (regionNode != null) {
      regionNode.lock();
      try {
        return regionNode.isInState(state);
      } finally {
        regionNode.unlock();
      }
    }
    return false;
  }
Called after we've split all logs on a crashed Server.
@see #logSplitting(ServerName)
hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/RegionStates.java