Yes, a persistent cough in a child for several weeks should be evaluated by a doctor. It is important to seek medical advice in order to ensure the well-being of your child.