Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.


For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.