code: def get_ports(self):
          'Reads logical values at pins.'
          return (self.bus.read_byte_data(self.address, self.STATUS_PORT0), self.bus.read_byte_data(self.address, self.STATUS_PORT1))f get_ports(self):
          'Reads logical values at pins.'
          return (self.bus.read_byte_data(self.address, self.STATUS_PORT0), self.bus.read_byte_data(self.address, self.STATUS_PORT1));
docs: Reads logical values at pins.