public function hasStored(string $key)
    {
        if (isset($this->store[$key])) {
            return true;
        }

        if (isset($this->aliases[$key])) {
            return isset($this->store[$this->aliases[$key]]);
        }

        return false;
    }