"check if the value of the key ""name"" is ""test"" in a list of dictionaries `label`",any(d['name'] == 'Test' for d in label)