結果 : check if key is in dictionary python