Ah, right. My mistake, what you want to check for is the NetMode and see if it’s the listen server as only the listen server can have a local client in addition to being the server.
if (GetNetMode() == ENetMode::NM_ListenServer || IsLocallyControlled() )