def is_date(string):
    try:
        dateutil.parser.parse(string)
        return True
    except ValueError:
        return False
Check if input string is date-formatted.
dataset/ETHPy150Open StackStorm/st2contrib/packs/trello/sensors/list_actions_sensor.py/is_date