public boolean isInvalid() {
            return !unmatchedEvents.isEmpty() || !extraEvents.isEmpty();
        }
Checks if the result does not match expected results.

@return True if there are extra or unmatched events.
smithy-diff/src/main/java/software/amazon/smithy/diff/testrunner/SmithyDiffTestCase.java