code: def healthcheck():
      try:
          response = requests.head(
              f"{DSS_ENDPOINT}/admin/pending-jobs", timeout=10
          )
      except requests.ConnectionError as error:
          return (
              f"❌ Failed to connect to {DSS_ENDPOINT} (error {error})"
          )
      if response.status_code == 401:
          return f"*Connected to {DSS_ENDPOINT}*"
  
      else:
          return f"❌ Failed to connect to {DSS_ENDPOINT} (error {response.status_code})"
  
file_path: datasets-server/front/admin_ui/app.py
imports: import os
  import urllib.parse
  from itertools import product
  import pandas
  import requests
  import gradio
  from libcommon.processing_graph import processing_graph
  import matplotlib
  import matplotlib.pyplot
  import networkx
  import huggingface_hub
  import duckdb
  import json
  from tqdm.contrib.concurrent import thread_map
label_desc: Use image node_id 1 for calling a global function with example usage: healthcheck() and returns: str, DSS_ENDPOINT, str, str, DSS_ENDPOINT, str, response, str, str, DSS_ENDPOINT, str, error, str