This would need to be done in Python itself, not Maya. I'd be strongly in favor of it though.
back
1 comments
Not necessarily. Python objects can declare a `__contains__` function (such that `x in y` corresponds to `x.__contains__(y)`):
https://docs.python.org/3.5/reference/datamodel.html#object....