isUnbound() function is not defined

I'm not sure that this is the best solution, but it works