obspy.core.util.base.NamedTemporaryFile.writable

NamedTemporaryFile.writable()

Return whether object was opened for writing.

If False, write() will raise OSError.