boolean (@NotNull VirtualFile file) { VcsRoot vcsRoot; try (AccessToken ignore = SlowOperations.knownIssue("IDEA-322445, EA-857508")) { vcsRoot = ProjectLevelVcsManager.getInstance(myProject).getVcsRootObjectFor(file); if (vcsRoot == null) return false; } return ReadAction.compute(() -> { synchronized (myDataLock) { return myComposite.getUnversionedFileHolder().containsFile(VcsUtil.getFilePath(file), vcsRoot); } }); }