isClosed

abstract suspend fun isClosed(): Boolean

Whether the connection has been closed.