Frage im Vorstellungsgespräch bei Perficient

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