def METHOD_NAME(self, name: str) -> bool:
    has_included_word = any(self._contains(name, keyword) for keyword in self.include_words)
    has_excluded_word = any(self._contains(name, keyword) for keyword in self.exclude_words)
    return has_included_word and not has_excluded_word