code: def missing_key_error(key, object_label=None):
      if object_label is None:
          raise DatasetFormatError("Missing key: '%s'" % key)
      raise DatasetFormatError(
          "Expected %s to have key: '%s'" % (object_label, key)
      )
  
file_path: snips-nlu/snips_nlu/common/dataset_utils.py
imports: from snips_nlu.constants import INTENTS, UTTERANCES, DATA, SLOT_NAME, ENTITY
  from snips_nlu.exceptions import DatasetFormatError
label_desc: Use image node_id 3 for calling a global function with example usage: missing_key_error(key, object_label) without return types