Return `true` if `str === path`
1.0.1