code: func (j *resizeJob) isComplete() bool {
  	switch j.state {
  	case resizeJobStateDone, resizeJobStateAborted:
  		return true
  	default:
  		return false
  	}
  }
docs: // isComplete return true if the job is any one of several completion states.