code: def get_analytics_zoo_classpath():
      """
      Get and return the jar path for analytics-zoo if exists.
      """
      if os.getenv("BIGDL_CLASSPATH"):
          for path in os.getenv("BIGDL_CLASSPATH").split(":"):
              if not os.path.exists(path):
                  raise ValueError(
                      "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/lib/*.jar"))
      if jar_paths:
          assert len(jar_paths) == 1, "Expecting one jar: %s" % len(
              jar_paths
          )
          return jar_paths[0]
      return ""
  
file_path: analytics-zoo/pyzoo/zoo/util/engine.py
imports: import sys
  import os
  import glob
  import warnings
  import logging
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