def echo_output(output, echo=False):
    """
    Print output if echo is True

    Parameters
    ----------
    output : str
        The output to echo

    echo : bool
        Flag to indicate if the output should be displayed.
        Default: False
    """
    if not echo:
        return
    print(output, end='')
