code: static void setModelValue(final ModelNode model, final Boolean value) {
          if (value != null) {
              model.set(value);
          }
      }
docs: Sets the value of the model if the value is not {@code null}.
  
  @param model the model to update
  @param value the value for the model