public final boolean isInitialized() {
            byte isInitialized = memoizedIsInitialized;
            if (isInitialized == 1)
                return true;
            if (isInitialized == 0)
                return false;

            if (!hasIndex()) {
                memoizedIsInitialized = 0;
                return false;
            }
            if (!hasSuccess()) {
                memoizedIsInitialized = 0;
                return false;
            }
            if (hasErrorResponse()) {
                if (!getErrorResponse().isInitialized()) {
                    memoizedIsInitialized = 0;
                    return false;
                }
            }
            memoizedIsInitialized = 1;
            return true;
        }
<code>optional .jraft.ErrorResponse errorResponse = 99;</code>
jraft-core/src/main/java/com/alipay/sofa/jraft/rpc/RpcRequests.java