public boolean isInProgress() {
    return IN_PROGRESS_STATUSES.contains(this);
  }
@return {@code true} if this is a status that is in progress
ambari-server/src/main/java/org/apache/ambari/server/actionmanager/HostRoleStatus.java