src/ORM/Hierarchy/MarkedSet.php
public function isExpanded(DataObject $node)
    {
        $id = $node->ID ?: 0;
        return !empty($this->expanded[$id]);
    }
public function isExpanded(DataObject $node)
    {
        $id = $node->ID ?: 0;
        return !empty($this->expanded[$id]);
    }
public function isExpanded ( DataObject $ node ) { $ id = $ node -> ID ? : 0 ; return ! empty ( $ this -> expanded [ $ id ] ) ; }
Check if this DataObject is expanded.
An expanded object has had it's children iterated through.

@param DataObject $node
@return bool
Check if this DataObject is expanded . An expanded object has had it s children iterated through .