FApp::IsGame

Checks whether this application is currently running as a game or other packaged application, and is not acting like an editor.