public function hasChildren($position)
    {
        $item = $this->get($position);
        $relation = $item->getChildrenRelationIndex();

        return array_key_exists($relation, $item->getRelations());
    }