`return currentPath === path`