public function offsetExists($offset) { $row = $this->getRowFromId($offset); return false !== $row; }