You should add a check that the function isn't actually called.