DirectoryQ

DirectoryQ["name"]
returns True if the directory called name exists and False otherwise.