結果 : how to check return type in python