Just check for presence of data.id
Just check for presence of data.id

As [discussed on the forums](https://community.spark.io/t/unclear-that-api-can-take-take-device-name-instead-of-device-id/11560),
the API accepts either the ID or the device name as `DEVICE_NAME` when
calling `api.spark.io/v1/devices/{DEVICE_NAME}`. The check that was in
place disables the ability to use the name instead of the ID though.
Just checking for the presence of `data.id` should be enough to verify
that a valid device was returned.

harrisonhjones/sparkjs,spark/sparkjs,gbicks/particle,4math2379/sparkjs,gbicks/sparkjs,jkaramon/sparkjs,harrisonhjones/sparkjs