my component has an embedded image component inside of it, i need to show image only if image component is authored,
Component Code:
<div class="rightSideTile tile-img col-xs-5 col-md-4">
<sly data-sly-resource="${'image' @ resourceType='test/components/content/image'}"></sly>
</div>
So i need to check resource of embedded image component authored or not
i know we can do this in Java, but how to do this in Sightly?