code: public static ModelWrapper wrap(Object model) {
          if (!(isModel(model.getClass()))) {
              throw new IllegalArgumentException("The given object is no model");
          }
          return new ModelWrapper((OpenEngSBModel) model);
      }
docs: Creates a model wrapper object out of the given model object. Throws IllegalArgumentException in case the given
  model object is no model.