Bash: look for the existence of brew(1)