Pregunta de entrevista de Northrop Grumman

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