結果 : python check variable has attribute