boolean (@NotNull VirtualFile fileOrDir) { WorkspaceFileSet fileSet = myWorkspaceFileIndex.findFileSetWithCustomData(fileOrDir, true, true, false, true, false, ModuleOrLibrarySourceRootData.class); return fileSet != null; }