code: def assert_hydra_dependency():
      """
      Check if Hydra is available. Simply python import to test.
      Also verifies whether the version is up to date.
      """
      min_hydra_version = (1, 0, 7)
      min_hydra_version_str = ".".join(
          str(x) for x in min_hydra_version
      )
      install_command = (
          f"pip install hydra-core=={min_hydra_version_str}"
      )
      assert (
          is_hydra_available()
      ), f"Make sure to install Hydra: {install_command}"
      upgrade_message = f"Please upgrade Hydra: {install_command}"
      assert get_hydra_version() >= min_hydra_version, upgrade_message
  
imports: import contextlib
  import copy
  import logging
  import math
  import os
  import pprint
  import re
  import sys
  from typing import Any, List, NamedTuple, Tuple
  import torch
  from hydra.core.override_parser.overrides_parser import OverridesParser
  from omegaconf import DictConfig, OmegaConf, open_dict
  from vissl.config import AttrDict, check_cfg_version
  from vissl.utils.io import save_file
  from vissl.utils.misc import is_augly_available
label_desc: Use image node_id 6 for calling a global function with example usage: assert_hydra_dependency() without return types