def __nonzero__(self):
        try:
            self.resource.head()
            return True
        except:
            return False
Test the classify function.
dataset/ETHPy150Open djc/couchdb-python/couchdb/client.py/Database.__nonzero__--crossover with--dataset/ETHPy150Open gmcquillan/firetower/tests/test_classifier.py/TestLevenshtein.test_check_message