@Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            } else if (!(o instanceof Result)) {
                return false;
            }
            Result result = (Result) o;
            return getDifferences().equals(result.getDifferences())
                    && getDiffEvents().equals(result.getDiffEvents())
                    && getOldModelEvents().equals(result.getOldModelEvents())
                    && getNewModelEvents().equals(result.getNewModelEvents());
        }
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