boolean isVisible(ValidationEvent event) {
        if (event.getSeverity().ordinal() < severity.ordinal()) {
            return false;
        }

        if (!showValidators.isEmpty()) {
            for (String show : showValidators) {
                if (event.containsId(show)) {
                    return true;
                }
            }
            return false;
        }

        if (!hideValidators.isEmpty()) {
            for (String hide : hideValidators) {
                if (event.containsId(hide)) {
                    return false;
                }
            }
        }

        return true;
    }
Check if the given validation event matches the show/hide settings.

<p>A severity must be set before calling this method.

@param event Event to check.
@return Return true if the event can be seen.
smithy-cli/src/main/java/software/amazon/smithy/cli/commands/ValidatorOptions.java