image

the sleepy snake

index :: path :: is_child

is_child(parentpath, childpath, emidiate=False, ignorecase=True)

Returns True if a childpath is a child of parentpath, False otherwise.
If emidiate is True, the child has to be an emidiate child of parent, if ignorecase is False, the comparison is made case sensitive