Report question

Question: How to check if a given path is possible child of another path?