code: func isDeviceOpened(deviceToDetach AttachedVolume, mounter mount.Interface) (bool, error) {
  	isDevicePath, devicePathErr := mounter.PathIsDevice(deviceToDetach.DevicePath)
  	var deviceOpened bool
  	var deviceOpenedErr error
  	if !isDevicePath && devicePathErr == nil ||
  		(devicePathErr != nil && strings.Contains(devicePathErr.Error(), "does not exist")) {
  		// not a device path or path doesn't exist
  		//TODO: refer to #36092
  		klog.V(3).Infof("The path isn't device path or doesn't exist. Skip checking device path: %s", deviceToDetach.DevicePath)
  		deviceOpened = false
  	} else if devicePathErr != nil {
  		return false, deviceToDetach.GenerateErrorDetailed("PathIsDevice failed", devicePathErr)
  	} else {
  		deviceOpened, deviceOpenedErr = mounter.DeviceOpened(deviceToDetach.DevicePath)
  		if deviceOpenedErr != nil {
  			return false, deviceToDetach.GenerateErrorDetailed("DeviceOpened failed", deviceOpenedErr)
  		}
  	}
  	return deviceOpened, nil
  }
docs: // isDeviceOpened checks the device status if the device is in use anywhere else on the system