how to test if a string in one list is in a string in another list python code example Example: check if anything in a list is in a string python y = any(x in String for x in List)