isPasswordProtected
Determines if a document is password protected without attempting to open it. This method will try to open the document without a password and check if it fails due to password protection.
Return
True if the document requires a password, false otherwise.
Parameters
context
The application context.
source
The PDF document source.