AT&T Interview Question

Given a string, return true if it’s a palindrome, return false if it’s not.