code: def combine_dicts(*dicts, copy=False, base=None):
      if len(dicts) == 1 and base is None:
          cd = dicts[0].copy()
      else:
          cd = {} if base is None else base
          for d in dicts:
              if d:
                  cd.update(d)
      return {k: _copy.deepcopy(v) for k, v in cd.items()} if copy else cd