python check if item in list in string