if you actually need bash, /usr/bin/env bash works; but often something could actually be a sh script with a bit of care. Some Linux distributions have been changing /bin/sh to something other than bash, which helps.
if bash is installed; if not, at least it's a fairly clear indication that you should install bash
if bash is installed; if not, at least it's a fairly clear indication that you should install bash