Returns true if there are pending operations for that barcode.
barcode
bool hasPendingChanges(String barcode) => _changes.hasNotTerminatedOperations(barcode);