public boolean isCommand() {
      return COMMANDS.contains(this);
    }
@return {@code true} if the task is a command type (as opposed to an action)
ambari-server/src/main/java/org/apache/ambari/server/stack/upgrade/Task.java