public static boolean isProjectLogForVcs(@NotNull Project project, @NotNull Collection<VirtualFile> roots, @NotNull AbstractVcs vcs) {
    VirtualFile[] projectRoots = ProjectLevelVcsManager.getInstance(project).getRootsUnderVcs(vcs);
    return ContainerUtil.newHashSet(projectRoots).containsAll(roots);
  }
public static boolean isProjectLogForVcs(@NotNull Project project, @NotNull Collection<VirtualFile> roots, @NotNull AbstractVcs vcs)