Add isParentOf() helper
Return early when no segments