Returns true if the Path has a root.
bool hasRoot() => _windows.rootPrefix(string) == _pathSeparator;