I would find the connector for the sensor and make sure that it's getting voltage. You can download the service manual for your car in the technical section.
If it's the sensor I'm thinking of, it's almost $150.00. I haven't heard much about them failing, here or on the SLK forum.
I don't know if this what you're talking about
:
LINK - Mercedes brake sensor another link:
Brake pedal sensor