Example #1
0
def valid_email(email):
    if email and not User.by_email(email):
        return EMAIL_RE.match(email)
Example #2
0
def valid_email(email):
    if email and not User.by_email(email):
        return EMAIL_RE.match(email)