Accordion on dynamic page with CMS connection

Hi,

I have a dynamic page on my Wix Studio site with an accordion element. I have texts within the accordion items connected to a CMS. If there is no entry for a text in the CMS on a specific page, I want to hide the item from the entire accordion.

See the image example. I have the item “Details” configured regularly via the Manage Items menu on my dynamic page. The “Example text connected to CMS” is configured in my CMS in a rich text field “Details” (id: details). In the event that there is no entry in this field, is it possible to hide the “Details” item entirely, so that only the remaining items (Key benefits, Peer-Reviewed Publications…etc) are shown and Details is skipped?

Thanks in advance!