private static boolean isEmptySpec(Element root) {
        if ( ! XML.getChildren(root).isEmpty()) return false;
        return    root.getAttributes().getLength() == 0
               || root.getAttributes().getLength() == 1 && root.hasAttribute("version");
    }
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