LPS-40405 Fix wrong check, we shouldn't show the portlet when we don't have add URLs