Tripadvisor interview question

Implement a method that determines if a word is a palindrome.