protected function _checkExistsCache($gid) { // Use strlen() to catch "0" and "1". try { if (strlen($exists = $this->_cache->get($this->_sig('exists_' . $gid), 0))) { return (bool) $exists; } } catch (Horde_Cache_Exception $e) { } }