Since `object` is a required property, we should throw if it's not provided.  Also, you should use `typeof object === 'undefined'` instead of just the object itself.  This prevents subtle errors that can occur if object is every a number and is also faster.  Finally, I would rename `object` to `dynamicObject` since that more accurately describes what it is.