def wait_for_read(socket, timeout = None):
        readable = select.select([socket], [], [], timeout)[0]
        return bool(readable)
Wait up to `timeout` seconds until `socket` is ready for reading.
dataset/ETHPy150Open kuri65536/python-for-android/python3-alpha/python-libs/pyxmpp2/mainloop/wait.py/wait_for_read