def has_case_id(case_block):
    return case_block in const.CASE_TAG_ID or const.CASE_ATTR_ID in case_block
dataset/ETHPy150Open dimagi/commcare-hq/corehq/ex-submodules/casexml/apps/case/xform.py/has_case_id/swapped operands of `in`