.has()

.has()

.has( selector )Returns: jQuery

Description: Reduce the set of matched elements to those that have a descendant that matches the selector or DOM element.