code: def getConfiguration(self):
          
          configuration = c_int()
          mayRaiseUSBError(libusb1.libusb_get_configuration(
              self.__handle, byref(configuration),
          ))
          return configuration.value
docs: Get the current configuration number for this device.