boolean (@NotNull PsiFile file) { AbstractFileViewProvider viewProvider = (AbstractFileViewProvider)file.getViewProvider(); return evaluateValidity(viewProvider) && viewProvider.getCachedPsiFiles().contains(file); }