Tests: <HTMLElement>.hasClass()

Toggle class:

Usage: <HTMLElement>.hasClass(class <String>)

Note: Click the first button to toggle the class, then check its hasClass value with the second.