docs: function isPlainObjectOrEntity(value) {
    return (value instanceof AbstractEntity) || (
          (value instanceof Object) &&
          (
            (Object.getPrototypeOf(value) === Object.prototype) ||
            (Object.getPrototypeOf(value) === null)
          )
        )
  }