結果 : how to check methods of an object in python