結果 : python check if dict object has attribute