code: func taskWillNeverRun(task *api.Task) bool {
  	return task.Status.State < api.TaskStateAssigned && task.DesiredState > api.TaskStateRunning
  }
docs: // taskWillNeverRun returns true if task will never reach running state.