def METHOD_NAME(cls, region, language):
    """
    Whether this provider is enabled for a given region and language.
    Call this from the parent class.
    :param region: The given region
    :type region: ~integreat_cms.cms.models.regions.region.Region
    :param language: The given language
    :type language: ~integreat_cms.cms.models.languages.language.Language
    :returns: Wether this provider is enabled for the given region and language
    :rtype: bool
    """
    if not (language_node := region.language_node_by_slug.get(language.slug)):
        logger.debug(
            "Machine translations are disabled because %r does not exist in %r.",
            language,
            region,
        )
        return False
    if not language_node.active:
        logger.debug(
            "Machine translations are disabled because %r is not active in %r.",
            language,
            region,
        )
        return False
    if language_node.is_root():
        logger.debug(
            "Machine translations are disabled because %r is the default language in %r.",
            language,
            region,
        )
        return False
    if not language_node.machine_translation_enabled:
        logger.debug(
            "Machine translations are disabled for %r in %r.", language, region
        )
        return False
    if not cls.enabled:
        logger.debug("Machine translations via %s are disabled globally.", cls.name)
        return False
    if cls.region_enabled_attr and not getattr(region, cls.region_enabled_attr):
        logger.debug(
            "Machine translations via %s are disabled in %r.",
            cls.name,
            region,
        )
        return False
    source_language = region.get_source_language(language_node.slug)
    if source_language.slug not in cls.supported_source_languages:
        logger.debug(
            "Machine translations via %s are disabled for %r because the slug of its source language %r is not in %r.",
            cls.name,
            language_node.language,
            source_language,
            cls.supported_source_languages,
        )
        return False
    codes = [language_node.slug, language_node.language.bcp47_tag.lower()]
    if all(code not in cls.supported_target_languages for code in codes):
        logger.debug(
            "Machine translations via %s are disabled for %r because neither its slug nor its bcp47 tag is in %r.",
            cls.name,
            language_node.language,
            cls.supported_target_languages,
        )
        return False
    return True