I would just remove this check.  If anything we would throw, but for the most part I would argue that we don't need to check at all.  If the user sets a non-function, it will just cause an exception when the balloon is updated.