func (mtask *managedTask) steadyState() bool {
	select {
	case <-mtask.ctx.Done():
		seelog.Info("Context expired. No longer steady.")
		return false
	default:
		taskKnownStatus := mtask.GetKnownStatus()
		return taskKnownStatus == apitaskstatus.TaskRunning && taskKnownStatus >= mtask.GetDesiredStatus()
	}
}
func (mtask *managedTask) steadyState() bool {
	select {
	case <-mtask.ctx.Done():
		seelog.Info("Context expired. No longer steady.")
		return false
	default:
		taskKnownStatus := mtask.GetKnownStatus()
		return taskKnownStatus == apitaskstatus.TaskRunning && taskKnownStatus >= mtask.GetDesiredStatus()
	}
}
func ( mtask * managedTask ) steadyState ( ) bool { select { case <- mtask . ctx . Done ( ) : seelog . Info ( " " ) return false default : taskKnownStatus := mtask . GetKnownStatus ( ) return taskKnownStatus == apitaskstatus . TaskRunning && taskKnownStatus >= mtask . GetDesiredStatus ( ) } }
// steadyState returns if the task is in a steady state. Steady state is when task's desired
// and known status are both RUNNING
steadyState returns if the task is in a steady state . Steady state is when task s desired and known status are both RUNNING