code: def _subset_dict(d, keys):
      """Subsets dictionary to keys in iterable keys.
  
      Parameters
      ----------
      d : dict
          dictionary to subset
      keys : iterable
          keys to subset to
  
      Returns
      -------
      dict
          subsetted dictionary
      """
      return {key: d[key] for key in keys if key in d}
  
imports: import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: _subset_dict(d, keys) and returns: unknown