Instructure interview question

Write a method that returns true or false if a string is a palidrome.