UCHealth interview question

Write a function to tell if a string is a palindrome.