You can follow Javith's idea or you can use
1) download this widget and place it in your container.
2) create a microflow and set it in the widget. If the microflow returns true ,container will be visible and if it is false, container will be hidden.
Hope this helps!
Hi corina lopez
Create on NP helper entity with boolean attribute, warp your container with data view and set data source as microflow,
in that microflow check your list is empty or not based on that create object for NP helper and set the value for the boolean and return the object, based on the boolean value set visible foe your container.