This is actually a very simple framework. People just end up complicating this for no reason.
All you got to do is do an honest self evaluation every 6 months.
List down what all have you learnt in the past 6 months. Is it helping you grow your skill set in the area you have chosen?
Are you solving an interesting or important problem for the company? Does it have a revenue impact? (This is a more recent addition, but this check helps to ensure you are always relevant for the org)
Do you have good support when you face problems/ have a good mentor or manager?
Are you growing financially / market standards at the least?
Are you growing in responsibility (have a clear path towards a leadership role)?
If your answers are positive to all the questions, you are in a dream role. Don't think of changing untill you u find something really better. It's rare to have everything.
If a majority of the questions have a positive answer, it's still a great place to be in, but I would keep my eyes and ears to the ground to scout for better opportunities in a specific area which is of priority to me.
If less than half are positive, you should be actively looking out to shift.
Hope this helps.