This function checks whether the scanned BarCode is a valid one
(not in the sense whether it exists in the database, but
whether the Bar code that is passed in is of correct format to calculate the Checksum.
The checksum is a Modulo 10 calculation.
1.