I have a list of dictionaries that looks like this, but with around 500 items:

```
listOfDicts = [{'ID': 1, 'abc': {'123': 'foo'}}, ... {'ID': 7, 'abc': {'123':'foo','456': 'bar'}}]

sampleFilterList = ['123', '456']

```

I am trying to filter the listOfDicts for all the results where all the values in the sampleFilterList are in the key 'abc' 

The result should be a list: 

```
[{'ID': 7, 'abc': {'123':'foo','456': 'bar'}}, ...]

```

I tried `[i for i in listOfDicts if a for a in sampleFilterList in i['abc']]`, but I am getting an `UnboundLocalError: local variable 'a' referenced before assignment`