string.objectid()

To validate a valid mongodb objectid