I had actually considered this before doing the
That said, this is the cleanest implementation I could come up with. It checks if the argument in question has
This breaks a few tests, but nothing critical - only on some spies or guarantees an arity-0 function is called a certain amount of times. I can clean those up if this looks alright otherwise.