結果 : check if python object has attribute