FGenericPlatformApplicationMisc::IsThisApplicationForeground

Returns true if the specified application has a visible window, and that window is active/has focus/is selected