code: def install_native_kernel_spec(user: bool = False) -> None:
      """Install the native kernel spec."""
      KernelSpecManager().install_native_kernel_spec(user=user)
  
imports: from __future__ import annotations
  import json
  import os
  import re
  import shutil
  import typing
  import warnings
  from jupyter_core.paths import SYSTEM_JUPYTER_PATH, jupyter_data_dir, jupyter_path
  from traitlets import Bool, CaselessStrEnum, Dict, HasTraits, List, Set, Type, Unicode, observe
  from traitlets.config import LoggingConfigurable
  from .provisioning import KernelProvisionerFactory
label_desc: Use image node_id 7 for calling a global function with example usage: install_native_kernel_spec(user) without return types