@staticmethod
def is_valid_email(val):
    email_re = re.compile("^[-!#$%&'*+\\.\\/0-9=?A-Z^_`{|}~]+@([-0-9A-Z]+\\.)+([0-9A-Z]){2,4}$", re.IGNORECASE)
    return (email_re.match(val) if val else False)
@staticmethod
def is_valid_email(val):
    email_re = re.compile("^[-!#$%&'*+\\.\\/0-9=?A-Z^_`{|}~]+@([-0-9A-Z]+\\.)+([0-9A-Z]){2,4}$", re.IGNORECASE)
    return (email_re.match(val) if val else False)