exists
Checks if the specified file or directory exists at the given path.
The operation is performed with Dispatchers.IO context.
Return
true if the file or directory exists, false otherwise.
Parameters
path
The path to the file or directory to be checked.