public function exists($translateKey) { $index = $this->getLongKey($translateKey); $key = $this->getShortKey($index); $this->loadValueByKey($key); return isset($this->cache[$key]) && isset($this->cache[$key][$index]); }