is_encrypted property

is_encrypted property

The property indicates whether the document is encrypted and requires a password to open.

True if the document is encrypted and requires a password to open; otherwise, False.

Definition:

@property
def is_encrypted(self):
    ...

See Also