def check_key(dictionary, key, default_value):
    """
    Returns the value assigned to the 'key' in the ini file.
    
    Parameters:
        dictionary : [dict] 
        key : [string|int] 
        default_value : [string] 
    
    Output: Value assigned to the 'key' into the 'dictionary' (or default value if not found)
    """
    if key in dictionary.keys():
        return dictionary[key]
    else:
        return default_value