You can use an assert, but you can't put the actual function call inside of it.