(PHP 8)
InternalIterator::valid — Check if current position is valid
Checks if current position is valid.
This function has no parameters.
Returns whether the current position is valid.