Report question

Question: How to detect if any child elements within a parent element has a certain class?