public function offsetExists($offset) { $this->initialize(); return array_key_exists($offset, $this->data); }