contains_key method

contains_key(document_field_name)

Determines whether a mapping from the specified field in the document exists in the collection.

def contains_key(self, document_field_name: str):
    ...
ParameterTypeDescription
document_field_namestrCase-sensitive name of the mail merge field in the document.

Returns

True if item is found in the collection; otherwise, False.

See Also