Yes, there is such a function. If the bet has a cash-out option, you can see the amount for which it can be calculated.