def contains(node, value):
    """
    Return whether the LinkedList that starts at node contains value.

    @param LinkedListNode node: a LinkedList.
    @param object value: value to search for in the linked list
    @rtype: bool

    >>> lnk = LinkedList()
    >>> for i in range(10000, 0, -1):
    ...     lnk.prepend(i)
    >>> contains(lnk.front, 42)
    True
    >>> contains(lnk.front, 1000)
    True
    """
    cur_node = node
    if cur_node is None:
        return False
    elif cur_node.value == value:
        return True
    else:
        return contains(cur_node.next_, value)