<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def insert_object(self, db_object):
 """Create new entry in the database. Parameters db_object : (Sub-class of)ObjectHandle """

        # Create object using the  to_dict() method.
        obj = self.to_dict(db_object)
        obj['active'] = True
        self.collection.insert_one(obj)