Check if a file or directory is hidden, or if any of its ancestor directories are hidden.
Path to file or directory
Promise resolving to boolean indicating hidden state
Check if a file or directory is hidden, or if any of its ancestor directories are hidden.