結果 : check if entry is in dictionary python