src/Renderer/ViewHelper/ViewHelperCollection.php
public function valid() : bool
    {
        if ($this->pointer >= 0 && $this->pointer < count($this->members)) {
            return true;
        }
        return false;
    }
public function valid() : bool
    {
        if ($this->pointer >= 0 && $this->pointer < count($this->members)) {
            return true;
        }
        return false;
    }
public function valid ( ) : bool { if ( $ this -> pointer >= 0 && $ this -> pointer < count ( $ this -> members ) ) { return true ; } return false ; }
Check if the current position of the pointer is valid

@return bool True if the pointer position is valid
Check if the current position of the pointer is valid