Yes - all multivitamins contain magnesium. It's a good thing! If you don't get enough magnesium in your diet, you can develop serious illnesses.
Are you curious about mercury in the water? That is not good for you if that was what you meant to question.