Version: 2019.2
public bool isConnected ;

Description

Returns true when the Editor is connected to the Player.