#!/usr/bin/env bash # Returns which status which "$1" >&/dev/null if [ $? -eq 0 ]; then exit 0 else exit 1 fi