A section of rail track, electrically isolated, forms a circuit controlling a relay. This relay's state indicates whether the track section is occupied or vacant.