function isVanillaObject(object) {
    return object && object.constructor === Object;
  }
Checks whether an object is a "vanilla" object, i.e. {'foo': 'bar'} as
opposed to an array, date, etc.

@private
@examples
isVanillaObject({foo: 'bar'}); // => true
isVanillaObject(new Date());   // => false
isVanillaObject([1, 2, 3]);    // => false