a fire alarm can warns of a fire