boolean (@NotNull PsiElement deepestElement) { final PsiFile file = deepestElement.getContainingFile(); if (file == null || !XmlTagTreeHighlightingUtil.isTagTreeHighlightingActive(file)) { return false; } return true; }