def is_blacklisted(cls, value): return any(re.search(p, value, re.LOCALE) for p in cls.read_items() if p.strip())