from pymodbus.client.sync import ModbusSerialClient as Client
c = Client(port="/dev/ttyp0")
c.is_socket_open()
TypeError: 'bool' object is not callable
File "pymodbus/client/sync.py", line 532, in is_socket_open
return self.socket.is_open()
'bool' object is not callable