boolean isTableDisabled(TableName tableName) {
    return tableStates.containsKey(tableName)
      && tableStates.get(tableName).inStates(TableState.State.DISABLED, TableState.State.DISABLING);
  }
Check if the specified region's table is disabled.
@param tableName table to check status of
hbase-server/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java