Northrop Grumman Interview Question

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