def poll(self, event, timeout):
        if self.state.SHUTDOWN:
            raise Error(errno.EBADF)
        if not ("recv", "send") in event:
            raise Error(errno.EINVAL)
        return super(LogicalDataLink, self).poll(event, timeout) is not None
dataset/ETHPy150Open javgh/greenaddress-pos-tools/nfc/llcp/tco.py/LogicalDataLink.poll/swapped operands of `in`