def METHOD_NAME(html_soup, pkg_version):
    changelog_check_result = {
        'curr_pkg_version' : pkg_version,
        'latest_version_entry' : '',
        'latest_release_notes' : list()
    }
    latest_entry = html_soup.find('div', id='unreleased')
    if latest_entry == None: latest_entry = html_soup.find('div', id='id1')
    if latest_entry == None: latest_entry = html_soup.find('div', id='release-history')
    if latest_entry != None:
        for entry in latest_entry:
            if entry.name == 'h1' or entry.name == 'h2':
                changelog_check_result['latest_version_entry'] = entry.text.split(' ')[0]
            if changelog_check_result['latest_version_entry'] == pkg_version:
                if entry.name == 'p':
                    changelog_check_result['latest_release_notes'].append(entry.text)
                if entry.name == 'ul':
                    for child in entry.children:
                        if child.string != '\n': changelog_check_result['latest_release_notes'].append(child.string)
    return changelog_check_result