def check_dict_has_kv(dictionary: dict, key, value) -> bool:
    """
    Check if `dictionary` has entry `key` with value `value`.
    """
    if key in list(dictionary.keys()) and dictionary[key] == value:
        return True
    return False