def GetValue(dictionary, key_no_case):
  """Gets a value from a case-insensitive key.

  Args:
      dictionary: dict of key -> value
      key_no_case: your case-insensitive key.

  Returns:
      Value of first case-insensitive match for key_no_case.

  """
  key = key_no_case.lower()

  if dictionary.has_key(key):
    return dictionary[key]

  return None