public function removeValue($key)
    {
        if (!$this->isValid()) {
            throw new \LogicException('Session is in an invalid state.');
        }

        if ($this->storage->hasValue($key)) {
            $this->storage->removeValue($key);
            return true;
        }

        return false;
    }