Can I determine if a string is a MongoDB ObjectID? Can I determine if a string is a MongoDB ObjectID? mongodb mongodb