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