Version: 2018.2
public static bool active ;

説明

現在、ネットワーククライアントがアクティブの場合、True を返します。