UPanelWidget::HasAnyChildren

Returns true if there are any child widgets in the panel