Snippet: How to check if an item is in the list
pythonpips.com