python check if any string in list contains substring