public hasLongTerm ( string $key ) : boolean | ||
$key | string | The long term key. |
return | boolean | True in case cached data is available. |
public function hasLongTerm($key)
{
$this->_load();
return isset($this->_data[self::LONG_TERM][$key]);
}