Indeed it is.  As is the list-reversal function, much beloved of lisp programmers.