private boolean isShapeInNeedOfUpdate(Shape shape, Set<ShapeId> removedTraits) {
        return shape.getAllTraits().keySet().stream().anyMatch(removedTraits::contains);
    }
Removes traits from shapes when trait definitions are removed.
smithy-model/src/main/java/software/amazon/smithy/model/transform/plugins/RemoveTraits.java