[checkmk-commits] Extracted helper functions