public boolean isTimeoutException() {
        return internalException instanceof TimeoutException;
    }
Returns true if the class and message fields match for two exceptions. Handles nulls.
metadata/src/main/java/org/apache/kafka/controller/errors/EventHandlerExceptionInfo.java