Function isRoot

Returns true if directory is root directory (e.g. / or C:\)

bool isRoot (
  string path
);