public Model removeShapesIf(Model model, Predicate<Shape> predicate) {
        return filterShapes(model, FunctionalUtils.not(predicate));
    }
Removes shapes from the model that match the given predicate.

@param model Model to transform.
@param predicate Predicate that accepts a shape and returns true to
 remove it.
@return Returns the transformed model.base.
smithy-model/src/main/java/software/amazon/smithy/model/transform/ModelTransformer.java