@@ -0,0 +1,227 @@
+import bson%0A%0A%0Adef is_a_valid_object_id(object_id):%0A    %22%22%22Verify if the value is valid as an object id.%0A    :object_id: a string object%0A    :returns: True or False%0A%0A    %22%22%22%0A    return bson.objectid.ObjectId.is_valid(object_id)%0A

add function to validate object id