def is_palindrome(d, start, len):
    """
    Return true if digits in int d form a palindrome, when starting at [start] index and checking [len] digits.
    """
    s = str(d)[start:start+len]
    return s[::-1] == s