code: func (task *Task) HostVolumeByName(name string) (taskresourcevolume.Volume, bool) {
  	for _, v := range task.Volumes {
  		if v.Name == name {
  			return v.Volume, true
  		}
  	}
  	return nil, false
  }
docs: // HostVolumeByName returns the task Volume for the given a volume name in that
  // task. The second return value indicates the presence of that volume