Checks whether the
device
of this instance is set.
false if the device is null. Otherwise, it returns true.