/Engine/Source/Runtime/SlateCore/Public/Application/SlateApplicationBase.h
Checks whether an UI for external services such as Steam is open.
true if an external UI is open, false otherwise.
bool IsExternalUIOpened()