title: Check if MongoDB upsert did an insert or an update
body: <p>I can't find this in the documentation in any of the obvious places.
  I'd like to know if it is possible to know if Mongo executed an insert or update in the upsert operation?</p>