def is_date(string):
    """
    Check if input string is date-formatted.

    :param string: Input date
    :type string: ``str``
    :rtype: ``bool``
    """
    try:
        dateutil.parser.parse(string)
        return True
    except __HOLE__:
        return False
dataset/ETHPy150Open StackStorm/st2contrib/packs/trello/sensors/list_actions_sensor.py/is_date