code: def check_keys(dict1: dict, key_list, mode="equal") -> bool:
      dict1_key_set = set(dict1.keys())
      key_set = set(key_list)
      assert len(key_set) == len(
          key_list
      ), "Provided `key_list` is not unique"
      if mode == "equal":
          return dict1_key_set == key_set
      elif mode == "subset":
          return dict1_key_set <= key_set
      elif mode == "strict_subset":
          return dict1_key_set < key_set
      elif mode == "superset":
          return dict1_key_set >= key_set
      elif mode == "strict_superset":
          return dict1_key_set > key_set
      else:
          raise KeyError(mode)
  
imports: import math
  import itertools
  from dataclasses import replace
  from typing import Mapping, Any, Sequence, Iterable, Iterator, Union, Tuple, Dict, Set
label_desc: Use image node_id 11 for calling a global function with example usage: check_keys(dict1, key_list, mode) and returns: unknown, unknown, unknown, unknown, unknown