// there's nothing that a child can do to override it
for (final Node node : getAncestors(true)) {
final ScriptableObject scriptableObject = ((DomNode) node).getScriptObject();
if (scriptableObject instanceof HTMLElement) {
final CSSStyleDeclaration style = ((HTMLElement) scriptableObject).jsxGet_currentStyle();
final String display = style.jsxGet_display();
if ("none".equals(display)) {
return false;
}
}
}