Return whether object was opened for reading. If False, read() will raise OSError.
io/IOBase.readable
IOBase.readable