Check if current path is inside other path
import dshould; Path("my", "dir", "42").isInside(Path("my", "dir")).should.be(true); Path("my", "dir", "42").isInside(Path("oth", "dir")).should.be(false);
See Implementation
Check if current path is inside other path