code: def _lib_name() -> str:
      """Return platform dependent shared object name."""
      if system() in ["Linux", "OS400"] or system().upper().endswith(
          "BSD"
      ):
          name = "libxgboost.so"
      elif system() == "Darwin":
          name = "libxgboost.dylib"
      elif system() == "Windows":
          name = "xgboost.dll"
      else:
          raise NotImplementedError(f"System {system()} not supported")
      return name
  
file_path: xgboost/python-package/packager/nativelib.py
imports: import logging
  import os
  import pathlib
  import shutil
  import subprocess
  import sys
  from platform import system
  from typing import Optional
  from .build_config import BuildConfiguration
label_desc: Use image node_id 1 for calling a global function with example usage: _lib_name() and returns: name