S.H.
My daughter self-weaned at about 2.5 years old.
I chose self-weaning with both my kids.
Anyway, I taught my daughter, MANNERS about nursing... once she was a Toddler.
1) It is MY boobs.
2) Do not just grab me.
3) Ask politely
4) Not in public
And, I talked with her about it. So that in time, as she got to be an older Toddler, she understood, manners about it.
And she understood.
But yes, I was STILL producing milk.
And my daughter, was actually drinking and swallowing.
And if/when my daughter asked... I would sometimes tell her "In minute... Mommy is busy..." and then I would MAKE myself BUSY... which is not hard. And I would NOT sit down.
Then, my daughter would get distracted and forget about it.
Your daughter may just want to nurse, because she is bored or it is soothing for her. But you also have to teach her "manners" about it... once they are a Toddler and extended breastfeeding is going on.
One day, my daughter just told me "Mommy I don't drink from you anymore..." and she GIGGLED like she thought it was SO ridiculous she did that. And she was done. Never went back.
My son, self-weaned at about 1 years old.
Again, I chose to do self-weaning.
Each child is different.