default boolean hasTag(String tag) {
        return getTags().contains(tag);
    }
Checks if the value has the given tag by name.

@param tag Tag value to search for.
@return Returns true if the tag is present.
smithy-utils/src/main/java/software/amazon/smithy/utils/Tagged.java