result = _db.testcollection.update_one({"_id": col_id}, {"$set": obj}) return result.matched_count > 0