title: HDFS File Existance check in Pyspark
body: <p>Can any one suggest the best way to check file existence in pyspark.</p>
  
  <p>currently am using below method to check , please advise.</p>
  
  <pre><code>def path_exist(path):
  
  try:
      rdd=sparkSqlCtx.read.format("orc").load(path)
      rdd.take(1)
      return True
  
  except Exception as e:
      return False
  </code></pre>