Subject: Re: [patch net-next 01/13] tools: ynl: allow user to specify flag attr with bool values

From: Jakub Kicinski <[email-masked]>
Date: Mon, 19 Feb 2024 12:42:22 -0800

On Mon, 19 Feb 2024 18:25:17 +0100 Jiri Pirko wrote:
>          elif attr["type"] == 'flag':
> +            if value == False:
> +                return b''

how about "if value:" ? It could also be null / None or some other
"false" object.