<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_koji_session(hub_url, auth_info=None):
 """ Creates and returns a Koji session. If auth_info is provided, the session will be authenticated. :param hub_url: str, Koji hub URL :param auth_info: dict, authentication parameters used for koji_login :return: koji.ClientSession instance """

    session = KojiSessionWrapper(koji.ClientSession(hub_url, opts={'krb_rdns': False}))

    if auth_info is not None:
        koji_login(session, **auth_info)

    return session