How to list hosts without a specific parameter?

Some of my host have a boolean parameter defined and i can list them with the following search:

hammer host list --search "params.local_home = t"
hammer host list --search "params.local_home = f"

But is there a way to search for hosts, where the parameter is not defined?

I have tried the following without any luck:

hammer host list --search "not has params.local_home"
hammer host list --search "null? params.local_home"

Try

not (params.local_home =t or params.local_home =f)

Thank you, that works!