Refactor batch module to a package
Invalid expression: isInstrumentInvalid becomes isInstrumentValid