I think it does. Most folks that use it say it cooks off and there is no flavor from the mustard, but I find it leaves a bitter taste for me, so I only did it once about 10 years ago.
For butts or ribs, I prefer molasses, both for sticking ability, color and bark!