def is_palindrome(s):
    """Returns boolean test of whether s is a palindrome."""
    for i in range(len(s)):
        if s[i] == s[len(s) - 1 - i]:
            continue
        else:
            return False
    return True