import csv


def csv_render_dict(csv_filename, dictionary, header):
    """renders csv given the dictionary
       column 1 = key, column 2 = value
    
    Parameters
    ----------
    csv_filename: str
        path of csv file to be created
    dictionary: dict
        dictionary to be rendered into csv file
    header: list
        list of length 2 of header strings

    Returns
    -------
    true if successful.
    """
    with open(csv_filename, 'w') as csv_file:
        writer = csv.writer(csv_file)
        # write header
        writer.writerow(header)
        for key, value in dictionary.items():
            writer.writerow([key, value])
    return True