code: def _get_version_and_resources(item):
      assert (
          "version" in item
      ), "'version' key should be present in zoo config {}".format(
          item._get_full_key("")
      )
      assert (
          "resources" in item
      ), "'resources' key should be present in zoo config {}".format(
          item._get_full_key("")
      )
  
      return item.version, item.resources
  
imports: import collections
  import json
  import logging
  import os
  import warnings
  from ast import literal_eval
  from typing import List
  import torch
  from mmf.common.registry import registry
  from mmf.utils.env import import_user_module
  from mmf.utils.file_io import PathManager
  from mmf.utils.general import get_absolute_path, get_mmf_root
  from omegaconf import DictConfig, errors, OmegaConf
label_desc: Use image node_id 5 for calling a global function with example usage: _get_version_and_resources(item) and returns: item,  item