/Engine/Plugins/Online/OnlineSubsystem/Source/Public/OnlineSubsystemImpl.h
Is the online subsystem associated with the game/editor/engine running as dedicated. May be forced into this mode by EditorPIE, but basically asks if the OSS is serving in a dedicated capacity
true if the online subsystem is in dedicated server mode, false otherwise
virtual bool IsDedicated() const