public function anAncestorIsMissing($item)
    {
        $parentColumn = $this->parentColumn;
        if (!$item->$parentColumn) {
            return false;
        }
        if (!$this->has($item->$parentColumn)) {
            return true;
        }
        $parent = $this[$item->$parentColumn];

        return $this->anAncestorIsMissing($parent);
    }
public function anAncestorIsMissing($item)
    {
        $parentColumn = $this->parentColumn;
        if (!$item->$parentColumn) {
            return false;
        }
        if (!$this->has($item->$parentColumn)) {
            return true;
        }
        $parent = $this[$item->$parentColumn];

        return $this->anAncestorIsMissing($parent);
    }
public function anAncestorIsMissing ( $ item ) { $ parentColumn = $ this -> parentColumn ; if ( ! $ item -> $ parentColumn ) { return false ; } if ( ! $ this -> has ( $ item -> $ parentColumn ) ) { return true ; } $ parent = $ this [ $ item -> $ parentColumn ] ; return $ this -> anAncestorIsMissing ( $ parent ) ; }
Check if an ancestor is missing.

@param $item

@return bool
Check if an ancestor is missing .