結果 : how to check the return type of a function in python