public readonly property closed as Boolean
Indicates whether the document has been closed and its staging files cleaned up.
assert not doc.closed