def bool_env(var_name, default=False):
    test_val = getenv(var_name, default)
    # Explicitly check for 'False', 'false', and '0' since all non-empty
    # string are normally coerced to True.
    if test_val in ('False', 'false', '0'):
        return False
    return bool(test_val)
Create and then delete a container, ensuring the expected response
dataset/ETHPy150Open lyft/confidant/confidant/settings.py/bool_env--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/flocker/control/test/test_httpapi.py/DeleteContainerTestsMixin._delete_test