Detecting if running on dedicated server at runtime ?

GetGameInstance()->IsDedicatedServerInstance()