public final boolean isStringShape() {
        return getType() == ShapeType.STRING || getType() == ShapeType.ENUM;
    }
@return Returns true if the shape is a {@link StringShape} shape.
smithy-model/src/main/java/software/amazon/smithy/model/shapes/Shape.java