How is lead_lists_leads table filled during import

My Mautic version is: 4.4.10 (Suggestions for 5.0 + are acceptable)

I would like to know where is logic located for filling lead_lists_leads table (to be specific during import),
is class instance which is related to lead_lists_leads created after Lead instance saving straight call and creation or is any events dispatched?