add isDryRunMode function.