Selects given indexes.

        :param indexes: Indexes to select.
        :type indexes: list
        :param flags: Selection flags. ( QItemSelectionModel.SelectionFlags )
        :return: Method success.
        :rtype: bool

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)