boolean (@NotNull PsiFileSystemItem file, NamedScopesHolder holder) { VirtualFile virtualFile = file.getVirtualFile(); return virtualFile != null && contains(virtualFile, file.getProject(), holder); }