<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_tree_view(self, model=None):
 """ Function creates a tree_view with model """

        tree_view = Gtk.TreeView()
        if model is not None:
            tree_view.set_model(model)
        return tree_view