def __contains__(self, id):
        try:
            _doc_resource(self.resource, id).head()
            return True
        except http.ResourceNotFound:
            return False
Only re-sets the connection if it's been
dataset/ETHPy150Open djc/couchdb-python/couchdb/client.py/Database.__contains__--crossover with--dataset/ETHPy150Open graphite-project/carbon/lib/carbon/client.py/CarbonClientProtocol.resetConnectionForQualityReasons