結果 : python how to check if dictionary is not empty