isClosed

abstract val isClosed: Boolean(source)

true if the document has been closed. A closed document isn't synchronized anymore and won't be re-used when the same resource is opened again.

Online Documentation