When writing a quick bash script, you may want to check if a command exists and is executable before trying to call it. This can be done with command, a builtin shell command, and the -v flag.
If the -V or -v option is supplied, the exit status is 0 if command was found, and 1 if not.
Knowing that, we can redirect the output of the command to /dev/null and then short-circuit executing the command if it's not available.