boolean (@NotNull VirtualFile file) { if (file.isDirectory()) return false; WorkspaceFileSet fileSet = myWorkspaceFileIndex.findFileSet(file, true, false, true, false, false); return fileSet != null; }