This version of Unity is unsupported.

PlayerConnection.isConnected

public bool isConnected;

Description

Returns true when the Editor is connected to the Player.