Pour vérifier la météo, un dictionnaire est vide ou non en python

empty_dict = {}
 
if empty_dict:
    print('Dictionary is not empty!')
else:
    print('Dictionary is empty!')
Glorious Gnat