You need to use key word "in". This allows you to check if something is in tuple, list, dictionary or set.
Examples:
sample_lst = [1,2,3,4,5]
print(5 in sample_lst)
sample_lst = [1,2,3,4,5]
if 5 in sample_lst:
#some code
If you want to look for it in something like a list of lists you can do
2dlist = [[1,2,3,4,5],[1,2,3,4,5],[1,2,3,4,5]]
print(any(6 in sublist for sublist in l2))
2dlist = [[1,2,3,4,5],[1,2,3,4,5],[1,2,3,4,5]]
if any(5 in sublist for sublist in 2dlist):
#some code