/Engine/Source/Runtime/SlateCore/Public/Layout/WidgetPath.h
true if the WidgetToFind is in this WidgetPath, false otherwise.
bool ContainsWidget ( [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< const [SWidget](API\Runtime\SlateCore\Widgets\SWidget) > WidgetToFind ) const