The path to check if it's a subpath.
The path to check if it's a parent.
True if potentialChild is a subpath of potentialParent, false otherwise.
This function normalizes the input paths before comparison. Normalization includes:
A path is considered a subpath of itself. If the normalized parent path is an empty string (e.g., from '.', './', or '/'), any non-empty child path is considered a subpath.
Check if one path is a subpath of another.