Does the python MariaDB connector has api to check the connection state similar to is_connected in python-mysql or any other way to check the connection state.<
is_connected