public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      if (!hasCmdType()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasCmdContent()) {
        memoizedIsInitialized = 0;
        return false;
      }
      memoizedIsInitialized = 1;
      return true;
    }
<code>optional bool force = 3 [default = false];</code>
metamorphosis-server/src/main/java/com/taobao/metamorphosis/server/transaction/store/TransactionCommands.java