IsRoot() is public function in PathResolver.
Add IsWebRoot() in PathResolver.