<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def lis_to_bio_map(folder):
 """ Senators have a lis_id that is used in some places. That's dumb. Build a dict from lis_id to bioguide_id which every member of congress has. """

    logger.info("Opening legislator csv for lis_dct creation")
    lis_dic = {}
    leg_path = "{0}/legislators.csv".format(folder)
    logger.info(leg_path)
    with open(leg_path, 'r') as csvfile:
        leg_reader = csv.reader(csvfile)
        for row in leg_reader:
            if row[22]:
                lis_dic[row[22]] = row[19]
    return lis_dic