def is_valid_email(s):
    """Returns `True` if the given string is a valid email.  This calls
Django's `validate_email()`, but does not raise an exception.

    """
    try:
        validate_email(s)
        return True
    except __HOLE__:
        return False
dataset/ETHPy150Open lsaffre/lino/lino/core/utils.py/is_valid_email