@Override
    public boolean test(ValidationEvent event) {
        if (!event.getShapeId().filter(shape::equals).isPresent()) {
            return false;
        }

        for (String value : trait.getValues()) {
            if (event.containsId(value)) {
                return true;
            }
        }

        return false;
    }
A suppression based on the {@link SuppressTrait}.
smithy-model/src/main/java/software/amazon/smithy/model/validation/suppressions/TraitSuppression.java