結果 : check if none in dictionary python