boolean () { boolean focused = false; final Content[] selection = getSelectedContents(); for (Content each : selection) { if (isFocusAncestorStrict(each.getComponent())) { focused = true; break; } } return focused; }