docs: private RaftServiceContext getOrInitializeService(PrimitiveId primitiveId, PrimitiveType primitiveType, String serviceName, byte[] config) {
      // Get the state machine executor or create one if it doesn't already exist.
      RaftServiceContext service = raft.getServices().getService(serviceName);
      if (service == null) {
        service = initializeService(primitiveId, primitiveType, serviceName, config);
      }
      return service;
    }