#! /usr/bin/env bash
#
# is-dir <path>

if [ -d $1 ]; then
   echo 0
else
   echo 1
fi   

echo ~~~
