public boolean isMaintenanceModeHostExcluded() {
    return hostsInMaintenanceModeExcluded;
  }
Gets whether hosts in maintenance mode should be excluded from the command.

@return {@code true} to exclude any hosts in maintenance mode from the
        command, {@code false} to include hosts which are in maintenance
        mode.
ambari-server/src/main/java/org/apache/ambari/server/controller/ActionExecutionContext.java