def is_connected(self): """ Determine if the device is conntected to the system. :return: True if the device is connected, otherwise False. :rtype: bool """ return qwiic_i2c.isDeviceConnected(self.address)
def is_connected(self): """ This method checks if the "i2c_driver" can connect to the device at the specified or default address. :return: Device Connection True- Successful False- Can't find device :rtype: Bool """ return qwiic_i2c.isDeviceConnected(self.address)