Pergunta de entrevista da empresa Blackbaud

Write a function to determine if a string is a palindrome