title: Python: Check if any file exists in a given directory
body: <p>Given a directory as a string, how can I find if ANY file exists in it?</p>
  
  <pre><code>os.path.isFile()       # only accepts a specific file path
  os.listdir(dir) == []  # accepts sub-directories
  </code></pre>
  
  <p>My objective is to check if a path is devoid of files only (not sub-directories too).</p>