Check that a given path is within the root directory.
str
Path to check.
Root of the directory structure.
True
is_within_tree()