DS18B20 - temperature sensor code Help Request

code checks if there is an alarm:

if (sensors.hasAlarm()) // check to see if there is an alarm
  {
    lcd.setCursor(0,0);
    lcd.print(" HighTemp Alarm"); // print to lcd there is an alarm
    digitalWrite(7, HIGH); // turn on over-temp light / fan