code: func safeToApplyPodPresetsOnContainer(ctr *api.Container, podPresets []*settingsv1alpha1.PodPreset) error {
  	var errs []error
  	// check if it is safe to merge env vars and volume mounts from given podpresets and
  	// container's existing env vars.
  	if _, err := mergeEnv(ctr.Env, podPresets); err != nil {
  		errs = append(errs, err)
  	}
  	if _, err := mergeVolumeMounts(ctr.VolumeMounts, podPresets); err != nil {
  		errs = append(errs, err)
  	}
  
  	return utilerrors.NewAggregate(errs)
  }
docs: // safeToApplyPodPresetsOnContainer determines if there is any conflict in
  // information injected by given PodPresets in the given container.