Checks if a string is a palindrome, and returns "true" if it is a palidrome, and "false" if it is not a palindrome.