mydict = {'fruits': ['banana', 'apple', 'orange'], 'vegetables': ['pepper',
    'carrot'], 'cheese': ['swiss', 'cheddar', 'brie']}
item = 'cheddar'
if item in mydict['cheese']:
    pass
Accessing items in lists within dictionary python