Version: 2018.4
public bool IsValid ;

説明

true if the device is currently a valid input device; otherwise false.

Use this property to determine whether this device is still valid. It is possible for devices to be disconnected or no longer reachable.