public function offsetExists($offset) { $this->getIterator()->seek($offset); return $this->getIterator()->valid(); }