結果 : python check if object is class or subclass