Gtk.TreeModelSort.iter_is_valid

### Method

# Gtk TreeModelSortiter_is_valid

#### Declaration [src]

    gboolean
    gtk_tree_model_sort_iter_is_valid (
      GtkTreeModelSort* tree_model_sort,
      GtkTreeIter* iter
    )

#### Description [src]

> This function is slow. Only use it for debugging and/or testing purposes.

Checks if the given iter is a valid iter for this `GtkTreeModelSort`.

#### Parameters

`iter` | `GtkTreeIter`
| A `GtkTreeIter`
| The data is owned by the caller of the function.

#### Return value

Returns: | `gboolean`
| `TRUE` if the iter is valid, `FALSE` if the iter is invalid.