In order to test whether a function works for one of multiple parameters, I created a recursive function with a try-except structure. The function arrives at the return stat