GtkTreeModel::iter_has_child

bool iter_has_child(GtkTreeIter iter);

Tells you if the passed iterator has children rows or not.