<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def select_indexes(self, indexes, flags=QItemSelectionModel.Select | QItemSelectionModel.Rows):
 """ Selects given indexes. :param indexes: Indexes to select. :type indexes: list :param flags: Selection flags. ( QItemSelectionModel.SelectionFlags ) :return: Method success. :rtype: bool """


        return self.select_view_indexes(indexes, flags)