code: def check_hpo_status(searcher):
      """Check the status of hpo."""
      if not searcher:
          warnings.warn(
              "HPO is not properly enabled or required \
                  dependency is not installed.",
              UserWarning,
          )
          return False
      return True
  
file_path: BigDL/python/nano/src/bigdl/nano/deps/automl/hpo_api.py
imports: import warnings
label_desc: Use image node_id 2 for calling a global function with example usage: check_hpo_status(searcher) and returns: True, False