<value><string>python: not request.get("dialog_mode", False) and request.get("current_web_document", context).isDocument()</string></value>
<value><string>python: not request.get("dialog_mode", False) and request.get("current_web_document", context).isDocument() and len(context.getTargetFormatItemList())</string></value>