public boolean isDiffBreaking() {
            for (ValidationEvent event : getDiffEvents()) {
                if (event.getSeverity() == Severity.ERROR || event.getSeverity() == Severity.DANGER) {
                    return true;
                }
            }
            return false;
        }
Determines if the diff events contain any DANGER or ERROR events.

@return Returns true if this diff has breaking changes.
smithy-diff/src/main/java/software/amazon/smithy/diff/ModelDiff.java