Exactly. Or even stricter. I've finally made a self-contained helper for that: https://gist.github.com/fillest/8d64f8fa0cdb1745bfc9c683cf39...
Pure Bash is really not needed since we have Python 3.
Also pipe/subprocess heavy scripts often become sad complex monstrosities in non-shell languages.