Write a Java function that determines if a given string is a palindrome. The function should return true if the input string is a palindrome and false otherwise. Palindromes are strings that read the...