private void deprecate(Element element, List<String> attributes, int majorVersion, String message) {
        deprecatedElements.add(new DeprecatedElement(majorVersion, element.getTagName(), attributes, message));
    }
Returns true if the given value is "true", or if it is missing
config-model-api/src/main/java/com/yahoo/config/application/api/xml/DeploymentSpecXmlReader.java