public static function isAbsolute($uri): bool
    {
        $null = $uri instanceof Psr7UriInterface ? '' : null;

        return $null !== self::filterUri($uri)->getScheme();
    }
public static function isAbsolute($uri): bool
    {
        $null = $uri instanceof Psr7UriInterface ? '' : null;

        return $null !== self::filterUri($uri)->getScheme();
    }
public static function isAbsolute ( $ uri ) : bool { $ null = $ uri instanceof Psr7UriInterface ? '' : null ; return $ null !== self :: filterUri ( $ uri ) -> getScheme ( ) ; }
Tell whether the URI represents an absolute URI.

@param Psr7UriInterface|UriInterface $uri
Tell whether the URI represents an absolute URI .