When my alternator was failing, the anti-lock brake light would go on then off then on then off again. Flickering and things like that. If it is on all the time it is likely something else as mentioned above. There would also be other signs if the alternator was failing. Dim lights, longer start times, stuff like that.
1995 E420 - retired
1986 420SEL - retired