obspy.core.util.misc.CaptureIO.readable

CaptureIO.readable()

Return whether object was opened for reading.

If False, read() will raise OSError.