def duplicates(doc):
    return doc["doc_type"] == "XFormDuplicate"
Test that attributes can be set as named arguments
dataset/ETHPy150Open dimagi/commcare-hq/corehq/ex-submodules/couchforms/filters.py/duplicates--crossover with--dataset/ETHPy150Open slacy/minimongo/minimongo/tests/test_utils.py/test_attr_dict_kwargs