code: function isSameObjectId(a, b) {
    assert(isObjectId(a), '1st argument is not an ObjectId')
    assert(isObjectId(b), '2nd argument is not an ObjectId')
    return a.toString() === b.toString()
  }
docs: A boolean representing if the objects given have the same Mongoose Object Id.
  Throws if the objects given aren't a Mongoose Object Id.
  @method isSameObjectId
  @param {ObjectId} a - A Mongoose Object Id (see mongoose.Types.ObjectId)
  @param {ObjectId} b - A Mongoose Object Id (see mongoose.Types.ObjectId)
  @return {Boolean} - A boolean representing if the objects given have the same Mongoose Object Id.
  @throws {Error} - Throws if the inputs are not Object Ids (mongoose.Types.ObjectId)