結果 : how to check class inheritance in python