is_encrypted 属性

is_encrypted 属性

如果文档已加密并需要密码才能打开,则返回 true。

定义:

@property
def is_encrypted(self):
    ...

也可以看看