code: def _serve_health_check(enable_health_check: bool = False):
      """Start serve_health_check sub-process."""
      sub_proc = None
      if enable_health_check:
          sub_proc = Process(target=serve_health_check)
          sub_proc.start()
      yield
      if sub_proc:
          sub_proc.terminate()
  
file_path: airflow/airflow/cli/commands/scheduler_command.py
imports: from __future__ import annotations
  import logging
  from argparse import Namespace
  from contextlib import ExitStack, contextmanager
  from multiprocessing import Process
  from airflow import settings
  from airflow.api_internal.internal_api_call import InternalApiConfig
  from airflow.cli.commands.daemon_utils import run_command_with_daemon_option
  from airflow.configuration import conf
  from airflow.executors.executor_loader import ExecutorLoader
  from airflow.jobs.job import Job, run_job
  from airflow.jobs.scheduler_job_runner import SchedulerJobRunner
  from airflow.utils import cli
  from airflow.utils.cli import process_subdir
  from airflow.utils.providers_configuration_loader import providers_configuration_loaded
  from airflow.utils.scheduler_health import serve_health_check
label_desc: Use image node_id 4 for calling a global function with example usage: _serve_health_check(enable_health_check) without return types