Python Check If Hdfs Directory Exists