Check if one path starts with parent directory reference