thislist = ["apple", "banana", "cherry"] if "apple" in thislist:   print("Yes, 'apple' is in the fruits list")

Read more of this post