結果 : python check that dictionary is not empty