Report question

Question: How can I check in JavaScript if a DOM element contains a class?