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