boolean (final Element element) { String level = element.getAttributeValue(LANGUAGE_LEVEL); LanguageLevel languageLevelOldValue = myLanguageLevel; if (level == null) { myLanguageLevel = null; } else { myLanguageLevel = readLanguageLevel(level); } String aDefault = element.getAttributeValue(DEFAULT_ATTRIBUTE); Boolean defaultOldValue = getDefault(); if (aDefault != null) { setDefault(Boolean.parseBoolean(aDefault)); } return !Objects.equals(defaultOldValue, getDefault()) || languageLevelOldValue != myLanguageLevel; }