Check EAN code in a script
I import data for my product with a script,
I have an EAN code for each product.
In my script, How can i do for check if the ean code is available ?
And if isn't, How can i change it ? Without change any the code (all the number of the code)