def is_old_confirm(m): x = _confirm_re.search(m.as_string()) if x: return wledb.check_presence("old_requests", "request", x.group(1)) return False
def is_in_confirmed_list(str, c=None): for i in str: if wledb.check_presence("confirmed", "email", i.lower(), c): return True return False
def is_in_confirmed_list (str, c = None): for i in str: if wledb.check_presence ("confirmed", "email", i.lower(), c): return True return False
def is_old_confirm (m): x = _confirm_re.search (m.as_string()) if x: return wledb.check_presence ("old_requests", "request", x.group (1)) return False