def get_value(key: str, d: dict, default=None):
    """
    Search dictionary for key case insensitive and returns value
    :param key: key in dictionary
    :param d: dictionary
    :param default:
    :return: None if not found otherwise default
    """

    for k in d:
        if k.lower() == key.lower():
            return d[k]

    return default