結果 : python if object attribute exists