Pergunta de entrevista da empresa Pendo

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