If I do this:
>>> False in [False, True] True
That returns True. Simply because False is in the list.
True
False
It is evaluating as not True in [False, True], which returns False because True is in [False, True]
not True in [False, True]
[False, True]
If you try
>>>(not(True)) in [False, True] True
You get the expected result.