def METHOD_NAME(self, detected_language: dict) -> bool:
    name = detected_language.get("name", "").lower()
    if not name:
        return False
    return any(ext in name for ext in self._possible_matches)