def check_equipment(card):
    # probably even looser, chould check for actual equip abilities and noncreatureness
    if 'equipment' in card.subtypes:
        return card.text.text in 'equip'
    else:
        return None
dataset/ETHPy150Open billzorn/mtgencode/scripts/mtg_validate.py/check_equipment/swapped operands of `in`