lib/Iterator/AppendIterator.php
public function valid() 
    {
        if (false === isset($this->iterators[$this->index])) {
            return false;
        }

        return $this->iterators[$this->index]->valid();
    }
public function valid() 
    {
        if (false === isset($this->iterators[$this->index])) {
            return false;
        }

        return $this->iterators[$this->index]->valid();
    }
public function valid ( ) { if ( false === isset ( $ this -> iterators [ $ this -> index ] ) ) { return false ; } return $ this -> iterators [ $ this -> index ] -> valid ( ) ; }
Checks validity of the current element
@link http://php.net/manual/en/appenditerator.valid.php
@return bool true on success or false on failure.
@since 5.1.0
Checks validity of the current element