def METHOD_NAME(config: configuration.NamespaceConfig,
                  installer: Optional[interfaces.Installer]) -> bool:
    """
    Checks that all of the requested enhancements are supported by the
    installer.
    :param config: Configuration.
    :type config: certbot.configuration.NamespaceConfig
    :param installer: Installer object
    :type installer: interfaces.Installer
    :returns: If all the requested enhancements are supported by the installer
    :rtype: bool
    """
    for enh in enabled_enhancements(config):
        if not isinstance(installer, enh["class"]):
            return False
    return True