Usually for process exit status you just check == 0.  This can be simplified to `return cmdResult.exit_status == 0`.