public function hasKey($key)
{
if ($this->started !== true) {
throw new Exception\SessionNotStartedException('Tried to check a session data entry, but the session has not been started yet.', 1352488661);
}
return $this->storageCache->has($this->storageIdentifier . md5($key));
}