boolean (@NotNull Project project, @NotNull MultiMap<Repo, Hash> grouped) { RepositoryManager<Repo> manager = getRepositoryManager(project); return grouped.keySet().stream().noneMatch(manager::isExternal); }