Solved
data sly test to check if dropdown is selected or not
I have a dropdown with a list of items and I'm trying to show/hide an element only if something is selected from the dropdown.
In this case I'm trying to hide the "hero-icon" class.
<span data-sly-test="${properties.icon}" class="hero-icon"></span>

How can this be achieved