code: def _build_alive_check() -> Callable[[], Alive]:
      def alive() -> Alive:
          return Alive.construct(alive=True)
  
      return alive
  
file_path: lightning-flash/src/flash/core/serve/interfaces/http.py
imports: import base64
  import uuid
  from io import BytesIO
  from pathlib import Path
  from typing import TYPE_CHECKING, Any, Callable, Dict, Optional
  from flash.core.serve.dag.task import get
  from flash.core.serve.dag.visualize import visualize
  from flash.core.serve.execution import ComponentJSON, MergedJSON, TaskComposition, build_composition, component_dag_content, merged_dag_content
  from flash.core.serve.interfaces.models import Alive, EndpointProtocol
  from flash.core.utilities.imports import _CYTOOLZ_AVAILABLE, _FASTAPI_AVAILABLE
label_desc: Use image node_id 3 for calling a global function with example usage: _build_alive_check() and returns: alive, Alive