python check if any item in list matches string