Oh, definitely. It was 7 years in the 1970s (explicitly stated in one issue of Batman Family). Plus Dick was (presumably a freshman) in college, and she was a congresswoman, so had to be 25 according to Constitution. Not really sure if she was older than that earlier - she did have a PhD.
Edit: It was Batman Family #7
Seven years.jpg
I do like that one. The story's fine (a bit silver-age, really) but the start and end tags, I adore. A Bruce with faith in their abilities who lets them handle it. Not saying we never see that these days, but it's still so nice and pleasant to see in these old ones, too.