def is_email(value):

    if value is None:
        return

    if not re.match(r'\S+@\S+\.\S+', value):
        return c('email')
Ensure the given value is formatted as an email.
dataset/ETHPy150Open heiskr/sagefy/server/modules/validations.py/is_email