Make sure the supplied callback is actually callable.