Domanda di colloquio di Northrop Grumman

Write a function returning true when input string is a palindrome, and false otherwise.