Yes. At that age the child will be eating quite a lot of other foods but there is nothing wrong with breast feeding at that age. When children self wean it is usually between the ages of 3 and 4.
How many children do you have? I have 10, and they self-weaned around the age of one year with two exceptions. One daughter self-weaned at 6 months. She is the most stubborn, independent child to this day. And our youngest self-weaned at 15 months. But what do I know???