}
@SuppressWarnings("unchecked")
final Enumeration<TemplateElement> children = templateElement.children();
while (children.hasMoreElements()) {
final TemplateElement nextElement = children.nextElement();
if (hasExpression(template, expression, nextElement)) {
return true;
}
}