def is_plugged(self):
        return self.device_path and hid_device_path_exists(self.device_path)
Check if device still plugged to USB host
dataset/ETHPy150Open rene-aguirre/pywinusb/pywinusb/hid/core.py/HidDevice.is_plugged