def exists(self, key): key = autoBytes(key) return self.db.exists(key)
def get(self, key): key = autoBytes(key) p = self.db.get(key) p = self.ctype(p) return p