def balanced_blockquotes(str):
    """
    Check if blockquotes are balanced

    Parameters
    ----------
    str : str
        text

    Returns
    -------
    True if blockquotes are balanced, False otherwise
    """
    num_blockquotes = str.count("```")
    # balanced if even number of blockquotes
    return (num_blockquotes % 2) == 0