code: func VerifyVolumePathsForVM(vmMo mo.VirtualMachine, volPaths []string, nodeName string, nodeVolumeMap map[string]map[string]bool) {
  	// Verify if the volume paths are present on the VM backing virtual disk devices
  	vmDevices := object.VirtualDeviceList(vmMo.Config.Hardware.Device)
  	VerifyVolumePathsForVMDevices(vmDevices, volPaths, nodeName, nodeVolumeMap)
  
  }
docs: // VerifyVolumePathsForVM verifies if the volume paths (volPaths) are attached to VM.