結果 : python check dict has attribute