def test_isconnected_afterclose(self):
        hostlist, user, password = TestBaseClass.get_hosts()
        config = {'hosts': hostlist}
        if user is None and password is None:
            self.client = aerospike.client(config).connect()
        else:
            self.client = aerospike.client(config).connect(user, password)

        self.client.close()
        assert self.client.is_connected() == False
Invoke is_connected() after close.
dataset/ETHPy150Open aerospike/aerospike-client-python/test/old_tests/test_is_connected.py/TestIsconnected.test_isconnected_afterclose