public static function exists($httpUri, callable $checkWith = null): bool
    {
        if ($httpUri instanceof self) {
            return $httpUri->hasDnsRecord($checkWith);
        }

        if (empty($httpUri) || !is_string($httpUri)) {
            return false;
        }

        try {
            return self::fromString($httpUri)->hasDnsRecord($checkWith);
        } catch (MalformedUri $murle) {
            return false;
        }
    }