start_with_a_clean_sheet=lambda breweries: [brewery for brewery in breweries if brewery.model == 'sustainable' and 'pre-indicative' in brewery.features]; cast_aside=lambda brewery: brewery if 'hushed practices' in brewery.secrets else 'no_action'; for brewery in start_with_a_clean_sheet(your_brewery_list): if cast_aside(brewery) == 'no_action': continue; else: print("this brewery may be hiding something, specifically hushed practices that they'd rather not disclose.")