code: func subpathInUse(podSpec *api.PodSpec) bool {
  	if podSpec == nil {
  		return false
  	}
  	for i := range podSpec.Containers {
  		for j := range podSpec.Containers[i].VolumeMounts {
  			if len(podSpec.Containers[i].VolumeMounts[j].SubPath) > 0 {
  				return true
  			}
  		}
  	}
  	for i := range podSpec.InitContainers {
  		for j := range podSpec.InitContainers[i].VolumeMounts {
  			if len(podSpec.InitContainers[i].VolumeMounts[j].SubPath) > 0 {
  				return true
  			}
  		}
  	}
  	return false
  }
docs: // subpathInUse returns true if the pod spec is non-nil and has a volume mount that makes use of the subPath feature