<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def emit_tree_format(tree, verbose=False):
 """Returns a tree representation of a parse tree. Arguments: tree: the parse tree whose tree representation is to be generated verbose (bool):
 if True prints the parse tree to be formatted Returns: str: tree-like representation of the parse tree """

    if verbose:
        print("Converting: " + repr(tree))
    ret_str = __recursive_formatter(tree)
    return ret_str