private boolean allValuesAreSingletons(@NotNull MultiMap<Repo, Hash> grouped) {
    return ContainerUtil.and(grouped.entrySet(), entry -> entry.getValue().size() == 1);
  }
private boolean allValuesAreSingletons(@NotNull MultiMap<Repo, Hash> grouped)