class_docstr: Auto import Intel Extension for PyTorch as ipex,
  if bigdl-llm xpu version is installed.
docstr: Check if bigdl-llm xpu version is install
  
  Returns ture if installed false if not
docstr_tok: ["Check","if","bigdl-llm","xpu","version","is","install","Returns","ture","if","installed","false","if","not"]
code: def is_xpu_version_installed():
      """
      Check if bigdl-llm xpu version is install
  
      Returns ture if installed false if not
      """
      # Check if xpu version installed
      try:
          # Check if bigdl-core-xe is installed
          distribution("bigdl-core-xe")
          return True
      except PackageNotFoundError:
          # bigdl-core-xe not found
          # Check if bigdl-core-xe-21 is installed
          try:
              distribution("bigdl-core-xe-21")
              return True
          except PackageNotFoundError:
              # bigdl-core-xe not found
              return False
      return False
  
imports: from importlib.metadata import distribution, PackageNotFoundError
  import logging
label_desc: Use image node_id 2 for calling the IPEXImporter obj's underlying member method code with example usage: obj.is_xpu_version_installed() and returns: False, True, True, False