def config_true_value(value):
    return value is True or \
        (isinstance(value, basestring) and value.lower() in TRUE_VALUES)
Corresponds to #1223
dataset/ETHPy150Open openstack/swift-bench/swiftbench/utils.py/config_true_value--crossover with--dataset/ETHPy150Open biocore/scikit-bio/skbio/tree/tests/test_tree.py/TreeTests.test_set_max_distance_inplace_modification_bug