document-has-attachment

If the document has a given attachment.

{
    "evaluator": "document-has-attachment",
    "condition": "{attachmentId}"
}