def is_valid_url(s):
    try:
        validate_url(s)
        return True
    except ValidationError:
        return False
Returns `True` if the given string is a valid URL.  This calls
dataset/ETHPy150Open lsaffre/lino/lino/core/utils.py/is_valid_url