def enum(**enums):
    enums['reverse'] = dict((value, key) for key, value in enums.iteritems())
    return type('Enum', (), enums)
test if a value is true
dataset/ETHPy150Open hazelcast/hazelcast-python-client/hazelcast/util.py/enum--crossover with--dataset/ETHPy150Open Neohapsis/bbqsql/bbqsql/lib/requester.py/Requester._test