What would be the best way to avoid adding duplicate links. Im creating a csv link importer, and using wp_insert_link() , but currently its adding the link even if one exists with the same url.