public boolean containsAttribute(String attributeName) {
        return getAttribute(attributeName) != null;
    }
Returns an attribute by name, or null if it doesn't exist
config-model/src/main/java/com/yahoo/schema/derived/AttributeFields.java