def METHOD_NAME(name, words):
    """
    Filters out results based on filter_words
    name: name to check
    words : string of words separated by a ',' or list of words
    Returns: False if the name doesn't contain any word of words list, or the found word from the list.
    """
    if isinstance(words, str):
        words = words.split(",")
    words = {word.strip() for word in words if word.strip()}
    if not any(words):
        return True
    for word, regexp in {word: re.compile(r"(^|[\W_]){0}($|[\W_])".format(re.escape(word)), re.I) for word in words}.items():
        if regexp.search(name):
            return word
    return False