Prevent widget loading if data null

is it possible to prevent the widget from loading if the data is empty?
Was this page helpful?