public function hasNext()
    {
        if (parent::hasNext()
            && ($this->getItemPosition() < ($this->getItemOffset() + $this->getItemCount()) - 1)
        ) {
            return true;
        }
        return false;
    }
public function hasNext()
    {
        if (parent::hasNext()
            && ($this->getItemPosition() < ($this->getItemOffset() + $this->getItemCount()) - 1)
        ) {
            return true;
        }
        return false;
    }
public function hasNext ( ) { if ( parent :: hasNext ( ) && ( $ this -> getItemPosition ( ) < ( $ this -> getItemOffset ( ) + $ this -> getItemCount ( ) ) - 1 ) ) { return true ; } return false ; }
return true if iterator has a next items

@return    bool            has next item
return true if iterator has a next items