def _convert_sal_bool(value):
    """Convert a SAL XML schema boolean into a Python bool.
    """
    value = value.lower()
    if value == 'true':
        return True
    elif value == 'false':
        return False
    else:
        raise RuntimeError(
            'Incompatible value for boolean conversion: {0!r}'.format(value))