code: def _dict_equal(d1, d2):
      """Check that two dictionaries are equal.
  
      Nested dictionaries are flattened to facilitate comparison.
      """
      d1_flat = flatten_dict(d1)
      d2_flat = flatten_dict(d2)
      if not _dict_keys_equal(d1_flat, d2_flat):
          return False
      for key in d1_flat.keys():
          value_pair = [d1_flat[key], d2_flat[key]]
          if not _all_non_dicts_equal(value_pair):
              return False
      return True
  
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 14 for calling a global function with example usage: _dict_equal(d1, d2) and returns: True, False, False