Add Cost.is_stochastic to make warning more selective

`is_stochastic()`. This will always evaluate to true (bool() on the function)