Question d’entretien chez Perficient

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