public static boolean isClosed(final CloseRegionResponse proto) {
    if (proto == null || !proto.hasClosed()) return false;
    return proto.getClosed();
  }
Check if the region is closed from a CloseRegionResponse
@param proto the CloseRegionResponse
@return the region close state
hbase-client/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/ResponseConverter.java