callbacks.has()

Determine whether or not the list has any callbacks attached. If a callback is provided as an argument, determine whether it is in a list.

jQuery.when()

Provides a way to execute callback functions based on zero or more Thenable objects, usually Deferred objects that represent asynchronous events.