public bool CanRemoveDevice(Device device) { return(InputDevices.Contains(device) || OutputDevices.Contains(device)); }