結果 : python see if class has attribute