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

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

        return $null === $uri->getScheme() && $null !== $uri->getAuthority();
    }
public static function isNetworkPath ( $ uri ) : bool { $ uri = self :: filterUri ( $ uri ) ; $ null = $ uri instanceof Psr7UriInterface ? '' : null ; return $ null === $ uri -> getScheme ( ) && $ null !== $ uri -> getAuthority ( ) ; }
Tell whether the URI represents a network path.

@param Psr7UriInterface|UriInterface $uri
Tell whether the URI represents a network path .