Add _cmd_meta hidden kwarg to client iter_returns
Add cmd metadata to orch function and add redcode check
Merge pull request #18444 from thatch45/18413

Make state.orchestrate retcode aware