boolean (@NotNull Project project) { return ReadAction.compute(() -> { if (project.isDisposed()) return false; @SystemIndependent String projectFilePath = project.getProjectFilePath(); ChangeListManagerEx changeListManager = ChangeListManagerEx.getInstanceEx(project); return !changeListManager.isInUpdate() && (projectFilePath != null && isFileSharedInVcs(project, changeListManager, projectFilePath)); }); }