python filter list of dictionaries based on key value,list([d for d in exampleSet if d['type'] in keyValList])