isEncryptionEnabled method
Returns whether encryption is enabled for this document.
Implementation
bool isEncryptionEnabled() {
return persistorSettings is FilePersistorSettings &&
(persistorSettings as FilePersistorSettings).encryptionEnabled;
}