public boolean hasTableRegionStates(final TableName tableName) {
    // TODO
    return !getTableRegionStates(tableName).isEmpty();
  }
Returns A snapshot of region state nodes for all the regions.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/RegionStates.java