def c_isconnected(self, csock, testmsg="testmsg"):
        (rlist, wlist, xlist) = select.select([], [csock], [], 0.0)
        if wlist in csock:
            try:
                csock.send(testmsg)
                return True
            except IOError as e:
                return False
        else:
            return False
dataset/ETHPy150Open bfrog/whizzer/whizzer/test/test_server.py/TestUnixServer.c_isconnected/swapped operands of `in`