snippet has has() { type "\$1" > /dev/null 2>&1 }