/Engine/Source/Runtime/Core/Public/Misc/App.h
Checks whether this application can render audio. Certain application types produce sound, while for others this can be controlled via the -nosound cmdline. This can be used for decisions like omitting code paths that make no sense on servers or games running in headless mode (e.g. automated tests).
true if the application can render audio, false otherwise.
static bool CanEverRenderAudio()