code: def _shared_keys(info_dicts):
      key_sets = (
          set(metadata_dict.keys()) for metadata_dict in info_dicts
      )
      return reduce(set.intersection, key_sets)
  
imports: from collections.abc import Collection
  from datetime import datetime
  from functools import partial, reduce
  from operator import eq, is_
  import numpy
  from satpy.writers.utils import flatten_dict
label_desc: Use image node_id 3 for calling a global function with example usage: _shared_keys(info_dicts) and returns: reduce