code: def kernelDriverActive(self, interface):
          
          result = libusb1.libusb_kernel_driver_active(self.__handle, interface)
          if result == 0:
              return False
          elif result == 1:
              return True
          raiseUSBError(result)
docs: Tell whether a kernel driver is active on given interface number.