code: func volumeDevicesInUse(podSpec *api.PodSpec) bool {
  	if podSpec == nil {
  		return false
  	}
  	for i := range podSpec.Containers {
  		if podSpec.Containers[i].VolumeDevices != nil {
  			return true
  		}
  	}
  	for i := range podSpec.InitContainers {
  		if podSpec.InitContainers[i].VolumeDevices != nil {
  			return true
  		}
  	}
  	return false
  }
docs: // volumeDevicesInUse returns true if the pod spec is non-nil and has VolumeDevices set.