Version: 2019.4
public bool isValid ;

説明

Read Only. True if the device is currently a valid input device; otherwise false.

Use this property to determine whether this device is still valid.