Northrop Grumman interview question

Write a function that returns a boolean on whether a string is a palindrome