A Boolean value indicating whether the document is in read-only mode.
- macOS 10.7+
The value of this property is
true if the document is in read-only "viewing mode," that is, if the document is locked. You can use this information to prevent certain kinds of user actions or changes when the user is viewing an old document revision.