boolean (ASTNode element) { ASTNode leaf = element; while (leaf != null) { if (leaf instanceof OuterLanguageElement) { return leaf.getText().contains("<![CDATA["); } leaf = TreeUtil.prevLeaf(leaf); } return false; }