結果 : python check for none in dictionary