Pendo interview question

Given a string, return a boolean whether or not the string is a palindrome.