public boolean isShapeType(ShapeType other) {
        return Objects.equals(this, other);
    }
Returns whether this shape type is equivalent to the given shape type,
accounting for things like enums being considered specializations of strings.

@param other The other shape type to compare against.
@return Returns true if the shape types are equivalent.
smithy-model/src/main/java/software/amazon/smithy/model/shapes/ShapeType.java