結果 : python check class has attribute