isConnected property
Whether the gamepad is currently connected.
The gamepad can suddenly disconnect at any time, and does not have to be connected to start.
Note that some gamepads with wireless receivers will show up as connected when the receiver is plugged in, even if the gamepad itself is turned off. This is a fundamental limitation.
Implementation
bool get isConnected;