code: func (task *Task) UpdateStatus() bool {
  	change := task.updateTaskKnownStatus()
  	// DesiredStatus can change based on a new known status
  	task.UpdateDesiredStatus()
  	return change != apitaskstatus.TaskStatusNone
  }
docs: // UpdateStatus updates a task's known and desired statuses to be compatible
  // with all of its containers
  // It will return a bool indicating if there was a change