def line_parse_checker(line):
    """
    Checks if the given line parses fully--ie, all quotes are closed
    """
    quote_stack = [None]
    prev_char = None
    for char in line:
        top_stack = quote_stack[-1]
        if char in ("'", '"') and prev_char != '\\':
            if char == top_stack:
                quote_stack.pop()
            else:
                quote_stack.append(char)
        prev_char = char
    return len(quote_stack) == 1
