Set-up
I have a dictionary variable tags_dict
.
I have an if condition that looks like,
if 'seat_height_min' in tags_dict and 'seat_height_max' in tags_dict and 'material_wheels' in tags_dict:
#do something
Question
How do I write this simpler?
I'd love to do something along the lines of,
if all('seat_height_min','seat_height_max','material_wheels') in tags_dict:
# do something
but this doesn't work.
Is there a function that does something like the above?