PACCAR interview question

In pseudo-code, write a function to check if a word is a palindrome.