def _wait_for_data(self):
        next_poll = self._handle_data()
        socks = dict(self._poller.poll(timeout=self.poll_timeout))
        if socks in self._handshake_socket and \
                socks[self._handshake_socket] == zmq.POLLIN:
            self._handle_connection()
        GUI.invoke_after(next_poll, self._wait_for_data)
dataset/ETHPy150Open enthought/pikos/pikos/live/zmq_provider.py/ZmqProvider._wait_for_data/swapped operands of `in`