結果 : check if dictionary is none python