/Engine/Source/Runtime/UMG/Public/Components/Widget.h
Is the widget visible in the designer? If this widget is 'hidden in the designer' or a parent is, this widget will also return false here.
bool IsVisibleInDesigner() const