Check if a function-template exists before adding