Doctrine 1

Doctrine_Node_NestedSet::hasParent() returns true on non-leaf objects.