code: function _validateIsModel(model) {
    let parentClass = Object.getPrototypeOf(model);
    while (parentClass.name !== 'Model' && parentClass.name !== '') {
      parentClass = Object.getPrototypeOf(parentClass);
    }
    validationUtils.booleanTrue(
      parentClass.name === 'Model',
      'Parameter is not an Objection.js model'
    );
  }
docs: This is only invoked on the startup, so we can make this check non-trivial