def check_lands(card):
    if 'land' in card.types:
        return card.cost.format() == '_NOCOST_'
    else:
        return None

# doesn't handle granted activated abilities in ""
dataset/ETHPy150Open billzorn/mtgencode/scripts/mtg_validate.py/check_lands/original