Automating a two value slider

Is there an easy way to tell which value was changed in a two value slider?  I'm currently checking the slider values against the associated parameter values but it's a little messy. I was wondering if there's a flag or something in the Slider component to indicate which value has changed. I want to make sure the host is notified correctly for automation purposes and it would be nice to have a to check for this inside of the sliderValueChanged method.