private boolean removeIfPredicate(Shape shape, Collection<String> tags) {
        return !Prelude.isPreludeShape(shape)
                && shape.hasTrait(TraitDefinition.ID)
                && !hasAnyTag(shape, tags);
    }
Sets the list of tags that must be present for a trait to be included
in the filtered model.

@param tags Tags to set.
smithy-build/src/main/java/software/amazon/smithy/build/transforms/IncludeTraitsByTag.java