It depends on how you’re using it, but it’s not ageist in most cases. If it’s just about establishing the minimum amount of experience someone should have to apply for a position, then it’s perfectly fine and actually beneficial to job seekers. As long as you’re listing the bare minimum years of experience required, not a range.