isEncrypted
Returns whether the specified PDF file is encrypted.
Declaration
var isEncrypted: Bool { get }Discussion
If the document is encrypted, a password must be supplied before certain operations are enabled. For more information, see unlockWithPassword(_:).