is_path_hidden

astropy.utils.misc.is_path_hidden(filepath)[source]

Determines if a given file or directory is hidden.

Parameters
filepathstr

The path to a file or directory

Returns
hiddenbool

Returns True if the file is hidden