boolean (@NotNull PsiFile file, int offset) { if (isXslOrXsltFile(file)) { PsiElement element = file.findElementAt(offset); return element == null || HtmlTextContextType.isInContext(element); } return false; }