If the sensor is disconnected the light will flash a few times and then go off. If you have checked that you have 5V and ground at the plug at the loom that is good. You can also measure the electrical resistance of the sensor. In both high and low states it should not give infinity.