結果 : python check if dict attribute exists