[checkmk-commits] Extracted code from ModeFolder._show_hosts to helper functions