boolean (@NotNull final VirtualFile file) { if (super.contains(file)) return true; for (PsiFileNode node : myChildNodes) { final PsiFile psiFile = node.getValue(); if (psiFile != null && file.equals(psiFile.getVirtualFile())) { return true; } } return false; }