public boolean isBroken() {
        for (ValidationEvent e : events) {
            if (e.getSeverity() == Severity.ERROR || e.getSeverity() == Severity.DANGER) {
                return true;
            }
        }
        return false;
    }
Returns true if the projection contains error or danger events.

@return Returns true if the projected model is broken.
smithy-build/src/main/java/software/amazon/smithy/build/ProjectionResult.java