public function has($key)
    {
        foreach ($this->collection as $prototype) {
            if ($key == $prototype->getKey()) {
                return true;
            }
        }

        return false;
    }