結果 : python check if key exists and get value