code: func (t *Task) IsResolved() bool {
  	t.resolvedMu.Lock()
  	defer t.resolvedMu.Unlock()
  
  	return t.resolved
  }
docs: // IsResolved returns true if the task has already been marked as having
  // succeeded or failed.