python check if list of strings in dictionary keys