Use isNameReserved function.