Pergunta de entrevista da empresa Perficient

Write a function that determines if a string is a palindrome.