public function delete($key)
    {
        if ($this->has($key)) {
            unset($this->collection[$this->id_info][$key]);
            unset($this->collection[$this->id][$key]);

            return true;
        }

        return false;
    }