How can I check if a specific "type" value exists in a dict in group_list? If it does, I want to return that dict's "app" value.
group_list = [
{
'type': "app_group1",
'app': ['vs code', 'notepad', 'google']
},
{
'type': 'app_group2',
'app': ['slack', 'Discord', 'zoom', 'vs code']
},
{
'type': 'app_group3',
'app': ['calculater', 'google']
}]