boolean (XmlTag object) { // optimization: all tags from XML language are supported, but some from other languages (JSP, see IDEADEV-37939) are not return object.getLanguage() == XMLLanguage.INSTANCE || MyPsiUtil.findNameElement(object) != null; }