isUnlocked
Returns whether the specified PDF document is currently unlocked.
Declaration
var isUnlocked: Bool { get }Discussion
There are two possible reasons why a PDF document is unlocked:
The document is not encrypted.
The document is encrypted, and a valid password was previously specified using unlockWithPassword(_:).