docs: def rm_keys_from_dict(d, keys):
      """
      Given a dictionary and a key list, remove any data in the dictionary with the given keys.
  
      :param dict d: Metadata
      :param list keys: Keys to be removed
      :return dict d: Metadata
      """
      # Loop for each key given
      for key in keys:
          # Is the key in the dictionary?
          if key in d:
              try:
                  d.pop(key, None)
              except KeyError:
                  # Not concerned with an error. Keep going.
                  pass
      return d