•  tutorial
Edit

 Tutorial

.hasClass()

See the Pen JQuery .hasClass() by inimist (@inimistschool)on CodePen.