refactoring: move intent based check to ProcessUtils