isObjectId Added

isObjectId added if you are using Mongoose with MongoDB