code: def has_item(self, url):
          
  
          _hash = self.build_hash(url)
          query = {'_id': _hash}
          doc = self.dbase.cache.find_one(query, {'id': 1})
          return doc is not None
docs: Test if required item exists in the cache.