Write a function that recursively determines if a string is a palindrome.
isPalindrome("abcba") ➞ true isPalindrome("b") ➞ true isPalindrome("") ➞ true isPalindrome("ad") ➞ false
An empty string counts as a palindrome.