public boolean isHoldingState() {
    return HOLDING_STATES.contains(this);
  }
Indicates whether or not this is a holding state.
Holding means that the associated task is waiting for
a command to transition to a completion state.

@return true if this is a holding state.
ambari-server/src/main/java/org/apache/ambari/server/actionmanager/HostRoleStatus.java