isClosed

open fun isClosed(): Boolean

Checks if an output stream has already been closed.

Return

true if @stream is closed. false otherwise.