menu 8 Menu Overview $pages->valid() Checks if the current element is valid $pages->valid(): bool Return type bool Inherited from Kirby\Toolkit\Iterator Source code kirby/src/Toolkit/Iterator.php#L113