def _strip_listing_to_done(output_list):
    return [line for line in output_list if _safe_output(line)]
Conditionally remove non-relevant first and last line,
dataset/ETHPy150Open saltstack/salt/salt/modules/rabbitmq.py/_strip_listing_to_done