結果 : python 3 check if object has attribute