It is not necessary to do so in a function that is called from other places that already verify the name.