call magic function in python code example
Example: python "in magic method"
>>> y = [5, 4, 3, 2, 1]
>>> y.__contains__(3)
True
>>> y.__contains__(6)
False
>>> y = [5, 4, 3, 2, 1]
>>> y.__contains__(3)
True
>>> y.__contains__(6)
False