Is your feature request related to a problem? Please describe.
This behavior is not so nice...
Describe the solution you'd like
Implement the __contains__ special operator in KCellSettings, so that we can check if a particular setting is present, consistently with how we can in a dictionary.
Describe alternatives you've considered
you can use the get() method now and check for a None result, but still, the behavior above is unintuitive and not so nice
Is your feature request related to a problem? Please describe. This behavior is not so nice...![image](https://github.com/gdsfactory/kfactory/assets/3070522/5bae64ab-6587-4226-a815-52ba79cb1267)
Describe the solution you'd like Implement the
__contains__
special operator in KCellSettings, so that we can check if a particular setting is present, consistently with how we can in a dictionary.Describe alternatives you've considered you can use the
get()
method now and check for a None result, but still, the behavior above is unintuitive and not so nice@sebastian-goeldi