<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def setModel(self, model):
 """ Sets the model. Checks that the model is a """

        check_class(model, BaseTreeModel)
        super(ArgosTreeView, self).setModel(model)