Faster test for calls to a user-defined predicate in sender