public static boolean isPublicPreludeShape(ToShapeId id) {
        return getPreludeModel().getShape(id.toShapeId())
                .filter(shape -> !shape.hasTrait(PrivateTrait.ID))
                .isPresent();
    }
Checks if the given shape is a public shape or trait defined by the
prelude.

@param id Shape to check.
@return Returns true if the shape is a public prelude shape.
smithy-model/src/main/java/software/amazon/smithy/model/loader/Prelude.java