public static function isValidRelative(string $url, UrlInterface $baseUrl): bool
    {
        try {
            return self::myParse($baseUrl, $url);
        } catch (UrlPathLogicException $exception) {
            return false;
        }
    }