Yes.  It is necessary to dilate the pupils to allow the physician to examine the retina.  Even if you are having a problem only with one eye, it is necessary (especially with new patients) to look at both eyes for comparison and to determine if any problems or potential problems exist in your opposite eye.