/Engine/Source/Runtime/Slate/Public/Framework/Application/SlateUser.h
Returns true if the given widget is anywhere in the focus path, including the focused widget itself.
bool IsWidgetInFocusPath ( [TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< const [SWidget](API\Runtime\SlateCore\Widgets\SWidget) > Widget ) const