I'm slightly confused here. From what I can tell, it is checking to see if a labware barcode has been scanned before. If it's `false` i.e. it hasn't been scanned before, the promise rejects with a message saying that it has (`"This labware has been scanned before."`)