if [ -d $AXA_BA_ENVPATH/$1 ] -d stands for
none of the above
Checks for the existence of a directoy
Checks for the existence of a file
Checks for the existence of a file/directoy