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