def IsNestedField(d, field_list):
  """Examine a dict of dicts, to see if the nested field name exists."""

  for f in field_list:
    try:
      d = d[f]
    except (KeyError, ValueError):
      return False
  return True