def problem_forms(doc):
    return doc["doc_type"] != "XFormInstance"
Return non-XFormInstances (duplicates, errors, etc.)
dataset/ETHPy150Open dimagi/commcare-hq/corehq/ex-submodules/couchforms/filters.py/problem_forms