public function hasFinalItem(): bool
    {
        foreach ($this->items as $item) {
            if ($item->hasEofMark() && !$item->hasFurther()) {
                return true;
            }
        }
        return false;
    }