true if the path is a mount point, false otherwise.bool isMount() constReturns true if the path is a mount point.
On POSIX, this is true if the path is a device mount point (its device ID differs from its parent, or it is the root). On Windows, this is true if the path is a drive root (e.g., C:\) or a UNC root (e.g., \\server\share).
Inspired by Python's pathlib.Path.is_mount.
true if the path is a mount point, false otherwise.