contains method

On this page

contains

Determines whether the dictionary contains a password for the specified document.

def contains(self, key):
    ...
Parameter Type Description
key str The full file path or a document key.

Returns: bool: True if the dictionary contains a password for the document; otherwise, False.

Aliases

These names call contains too, limited to the overloads listed.

Alias Accepts
contains_file contains_file(key)
contains_string contains_string(key)

See Also

On this page