def METHOD_NAME(
    self,
    *,
    architectures: Optional[List[str]] = None,
    components: Optional[List[str]] = None,
    formats: Optional[List[str]] = None,
    name: str,
    suites: List[str],
    url: str,
) -> bool:
    """Install sources list configuration.
    Write config to:
    /etc/apt/sources.list.d/snapcraft-<name>.sources
    :returns: True if configuration was changed.
    """
    config = _construct_deb822_source(
        architectures=architectures,
        components=components,
        formats=formats,
        suites=suites,
        url=url,
    )
    if name not in ["default", "default-security"]:
        name = "snapcraft-" + name
    config_path = self._sources_list_d / f"{name}.sources"
    if config_path.exists() and config_path.read_text() == config:
        # Already installed and matches, nothing to do.
        logger.debug("Ignoring unchanged sources: %s", str(config_path))
        return False
    _sudo_write_file(dst_path=config_path, content=config.encode())
    logger.debug("Installed sources: %s", str(config_path))
    return True