`if [ -d "$DIRECTORY" ]; then` exists, you know.