```
result = [k for k,v in categories.iteritems() if v in cat_data]
```