.hasClass()

.hasClass()

.hasClass( className )Returns: Boolean

Description: Determine whether any of the matched elements are assigned the given class.

Elements may have more than one class assigned to them. In HTML