結果 : python check object has attribute