code: func (task *Task) AssociationByTypeAndName(associationType, associationName string) (*Association, bool) {
  	task.lock.RLock()
  	defer task.lock.RUnlock()
  
  	for _, association := range task.Associations {
  		if association.Type == associationType && association.Name == associationName {
  			return &association, true
  		}
  	}
  
  	return nil, false
  }
docs: // AssociationByTypeAndName gets an association of a certain type and name