“in” does operator chaining so the expression is equivalent to 5 in range(10) and range(10) == True?