add Device If Not Present
Adds a device to the list if it's not already present.
Return
true if the device was added, false if it was already in the list.
Parameters
device
The device to add.
Adds a device to the list if it's not already present.
true if the device was added, false if it was already in the list.
The device to add.