Version: 2017.3

NetworkServer.localClientActive

Switch to Manual
public static bool localClientActive ;

Description

True is a local client is currently active on the server.

This will be true for "Hosts" on hosted server games.