def config_true_value(value):
    return value is True or \
        (isinstance(value, basestring) and value.lower() in TRUE_VALUES)
Returns True if the value is either True or a string in TRUE_VALUES.
dataset/ETHPy150Open openstack/swift-bench/swiftbench/utils.py/config_true_value