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