Ping the connection for liveness.
Implements a ping (“SELECT 1”) on the connection. Return True if the connection is alive, otherwise False.
conn – The connection object to ping.