結果 : check if class is subclass python