python check if multiple strings in list