boolean (@NotNull Project project, @NotNull VcsKey key, @NotNull VirtualFile file) { final AbstractVcs vcs = ProjectLevelVcsManager.getInstance(project).findVcsByName(key.getName()); if (vcs == null) return false; final CommittedChangesProvider provider = vcs.getCommittedChangesProvider(); if (provider == null) return false; return provider.getForNonLocal(file) != null; }