Python in operator - find the info if the object or value exists in the target list

Example:

list = [1, "apple", 2, "banana"]
print("banana" in list)
print(3 in list)
print(2 in list)
Output:
True
False
True