code: def _check_tabulate():
      """Checks whether tabulate is installed."""
      if tabulate is None:
          raise ImportError(
              "Tabulate not installed. Please run `pip install tabulate`."
          )
  
imports: from pathlib import Path
  from typing import Optional, List
  import click
  import logging
  import operator
  import os
  import shutil
  import subprocess
  from datetime import datetime
  import pandas
  from pandas.api.types import is_string_dtype, is_numeric_dtype
  from ray.air.constants import EXPR_RESULT_FILE
  from ray.tune.result import DEFAULT_EXPERIMENT_INFO_KEYS, DEFAULT_RESULT_KEYS, CONFIG_PREFIX
  from ray.tune.analysis import ExperimentAnalysis
  from ray.tune import TuneError
  from ray._private.thirdparty.tabulate.tabulate import tabulate
label_desc: Use image node_id 1 for calling a global function with example usage: _check_tabulate() without return types