Checks if the element has a given class name in the list of class names applied to it.
Returns: boolean true if the element has given class
true