get_last_child
return get_last_child(entry->parent) == entry;
entry = get_last_child(entry);
last = get_last_child(last);