index is not the way to bo. there is a in operator in pythonic/core/builtins that has the proepr oveloads