def METHOD_NAME(
    self,
    *,
    package_repo: package_repository.PackageRepository,
) -> bool:
    """Install configured package repositories.
    :param package_repo: Repository to install the source configuration for.
    :returns: True if source configuration was changed.
    """
    logger.debug("Processing repo: %r", package_repo)
    if isinstance(package_repo, package_repository.PackageRepositoryAptPpa):
        return self._install_sources_ppa(package_repo=package_repo)
    if isinstance(package_repo, package_repository.PackageRepositoryApt):
        return self._install_sources_apt(package_repo=package_repo)
    raise RuntimeError(f"unhandled package repository: {package_repository!r}")