def isPalindrome(s):
    """This function checks if a string is palindrome or not using recursion
        Input: String to be checked
        Output: True if it is a palindrome, False if it is not
    """
    if len(s) == 0:
        return True
    if s[0] != s[len(s) - 1]:
        return False

    return isPalindrome(s[1:-1])