io.IOBase.readable

IOBase.readable()

Return whether object was opened for reading.

If False, read() will raise IOError.