How do you go about checking if multiple children of a path exist

I would have been nice to know what the real problem is here. The goal seems to be wandering.