boolean (@NotNull Element element) { boolean hasOldSettings = false; for (Element option : element.getChildren(OPTION_TAG)) { final String name = option.getAttributeValue(NAME_ATT); if (name != null) { hasOldSettings |= processElement(option, name); } } return hasOldSettings; }