Updating fields from CSV, letting the user decide when to overwrite

Hello! I am quite new to Anki. I have a deck I want to update according to the following scheme, for each card do:

if field == empty:
   write_new_content() # overwrite with new data
if field == Not empty:
   let_user_decide() # let the user see and choose version

Is a such thing possible? In file managers, you are given a popup whenever you are about to overwrite data. Does Anki have a similar feature for fields?

I think the Anking add on does this. Perhaps look into their code to see how they do it.

Which addon?