def is_in_strs(src):
    """
        Return a list with an element for each boundary in `src`, where each
        element is `True` if it's "inside a string" and `False` otherwise.
        
        The beginning of a string section in `src` should be marked with `(`
        and the end marked with `)`. However, note that the difference between
        the two markers is purely stylistic, and the same result will be
        produced regardless of the marker being used.

        >>> is_in_strs("")
        [False]
        >>> is_in_strs("x")
        [False, False]
        >>> is_in_strs("'(")
        [False, True]
        >>> is_in_strs("'()'")
        [False, True, False]
        >>> is_in_strs("'(a)'")
        [False, True, True, False]
        >>> is_in_strs("x = '(a)'")
        [False, False, False, False, False, True, True, False]
    """
    in_str = False
    in_strs = [in_str]
    for substr in src.replace(")", "(").split("("):
        mod = 1 if in_str else -1
        in_strs += [in_str] * (len(substr) + mod)
        in_str = not in_str
    if len(src) != 0 and in_str:
        in_strs += [False]
    return in_strs