even better, ```isdir```... http://docs.python.org/2/library/os.path.html#os.path.isdir