public function valid() { if ($this->cacheFilesIterator === null) { $this->rewind(); } return $this->cacheFilesIterator->valid(); }