connected Property
Indicates whether the connection is active.
Syntax
def get_connected() -> bool: ...
connected = property(get_connected, None)
Default Value
FALSE
Remarks
Use this property to check if the connection is alive.
This property is read-only.