def is_connected(self):
        return (self.__connection is not None) and \
               (self.__connection.is_connected())
Returns True is the client is connected to redis.
dataset/ETHPy150Open thefab/tornadis/tornadis/client.py/Client.is_connected