boolean (@NotNull VirtualFile fileOrDir) { WorkspaceFileSetWithCustomData<ModuleSourceRootData> fileSet = myWorkspaceFileIndex.findFileSetWithCustomData(fileOrDir, true, true, false, false, false, ModuleSourceRootData.class); return fileSet != null && isFromThisModule(fileSet); }