A pacifier should be taken away way before the child turns 2 years old.
A 2 year old doesn't really need a pacifier and sucking on a pacifier too long can mess up a child's teeth and cause speech problems and delays.
You nephew should be ditching the pacifier by now but it's up to his mother if she wants to take it away.