public boolean isInStates(State... target) {
    for (State tableState : target) {
      if (this.state.equals(tableState)) {
        return true;
      }
    }
    return false;
  }
Static version of state checker
@param target equals to any of
@return true if satisfies
hbase-client/src/main/java/org/apache/hadoop/hbase/client/TableState.java