def validate_maplight_date(d):
    try:
        datetime.strptime(d, '%Y-%m-%d')
        return True
    except __HOLE__:
        return False

# TODO Also create MapLightContestMeasure
dataset/ETHPy150Open wevoteeducation/WeVoteBase/import_export_maplight/models.py/validate_maplight_date