How would you detect a faulty Indicator bulb

The indicator would be flashing erratically