def bool_argument_value(arg_name, bool_str, strict=True, default=False):
    try:
        val = strutils.bool_from_string(bool_str, strict, default)
    except ValueError as e:
        raise exc.CommandError(_("argument %(arg)s: %(err)s.")
                               % {'arg': arg_name, 'err': e})
    return val
Specifies if the server supports basic.nack on the active connection.
dataset/ETHPy150Open openstack/python-ironicclient/ironicclient/common/utils.py/bool_argument_value--crossover with--dataset/ETHPy150Open pika/pika/pika/adapters/blocking_connection.py/BlockingConnection.basic_nack_supported