code: def get_analytics_zoo_classpath():
      """
      Get and return the jar path for BigDL if exists.
      """
      if os.getenv("BIGDL_CLASSPATH"):
          for path in os.getenv("BIGDL_CLASSPATH").split(":"):
              # check jar path or jars dir path that is ended with "jars/*"
              if not os.path.exists(path) and not os.path.exists(
                  path.split("*")[0]
              ):
                  invalidInputError(
                      False,
                      "Path {} specified BIGDL_CLASSPATH does not exist.".format(
                          path
                      ),
                  )
          return os.environ["BIGDL_CLASSPATH"]
      jar_dir = os.path.abspath(__file__ + "/../../../")
      jar_paths = glob.glob(
          os.path.join(jar_dir, "share/orca/lib/*.jar")
      )
      if jar_paths:
          invalidInputError(
              len(jar_paths) == 1,
              "Expecting one jar: %s" % len(jar_paths),
          )
          return jar_paths[0]
      return ""
  
file_path: BigDL/python/dllib/src/bigdl/dllib/utils/zoo_engine.py
imports: import sys
  import os
  import glob
  import warnings
  import logging
  from bigdl.dllib.utils.log4Error import *
label_desc: Use image node_id 5 for calling a global function with example usage: get_analytics_zoo_classpath() and returns: str, os, jar_paths