isConnected()Attempt to determine if the device at the given address is connected to the bus also allows for updating the read scratchpad. sensors.isConnected(deviceAddress, scratchPad)
sensors: a variable of type DallasTemperature.
deviceAddress: pointer to an 8 byte array containing the address.
scratchPad: structure pointer ScratchPad to read device data.
bool - returns true if the device was connected.