code: def _server_accepts_artifact_path() -> bool:
      from pkg_resources import parse_version
  
      target_version = "0.12.14"
      max_cli_version = (
          util._get_max_cli_version()
          if not util._is_offline()
          else None
      )
      accepts_artifact_path: bool = (
          max_cli_version is not None
          and parse_version(target_version)
          <= parse_version(max_cli_version)
      )
      return accepts_artifact_path
  
imports: import hashlib
  import logging
  import os
  from io import BytesIO
  from typing import TYPE_CHECKING, Any, Dict, List, Optional, Sequence, Type, Union, cast
  from urllib import parse
  import wandb
  from wandb import util
  from wandb.sdk.lib import hashutil, runid
  from wandb.sdk.lib.paths import LogicalPath
  from ._private import MEDIA_TMP
  from .base_types.media import BatchableMedia, Media
  from .helper_types.bounding_boxes_2d import BoundingBoxes2D
  from .helper_types.classes import Classes
  from .helper_types.image_mask import ImageMask
label_desc: Use image node_id 2 for calling a global function with example usage: _server_accepts_artifact_path() and returns: accepts_artifact_path