// Finished checks if all tasks are in state TASK_FINISHED
Finished checks if all tasks are in state TASK_FINISHED
// Finished checks if all tasks are in state TASK_FINISHED
func (s *State) finished() bool {
	for _, state := range s.states {
		if state != mesos.TASK_FINISHED {
			return false
		}
	}
	return true
}
func ( s * State ) finished ( ) bool { for _ , state := range s . states { if state != mesos . TASK_FINISHED { return false } } return true }
Finished checks if all tasks are in state TASK_FINISHED
Finished checks if all tasks are in state TASK_FINISHED