private static boolean shouldVerify(Element element) {
        return !element.hasAttribute("verify") || Boolean.parseBoolean(element.getAttribute("verify"));
    }
This function creates a hop from the content of the given xml element.

@param element The element to base the hop config on.
@return The corresponding hop spec.
config-model/src/main/java/com/yahoo/vespa/model/builder/xml/dom/DomRoutingBuilder.java