/** * Checks if is ready for iteration * * @group Iterator * @return boolean */ function valid() { return $this->document->valid(); }