Back in the day, generally speaking, mountain bike frame sizes were measured by their seat tube length, in inches. I would guess 17” to be in the medium to med/lg. But those measurements can be all over the map, depending on how they were measured…. for instance, bottom bracket to top of seat tube, top of top tube, or middle of top tube.
Best to look at other measurements as well on the bike you’re looking at.