src/Asset/Finder.php
protected function isExternal(string $path): bool
    {
        foreach ($this->schemes as $scheme) {
            if (strpos($path, $scheme) !== false) {
                return true;
            }
        }

        return false;
    }
protected function isExternal(string $path): bool
    {
        foreach ($this->schemes as $scheme) {
            if (strpos($path, $scheme) !== false) {
                return true;
            }
        }

        return false;
    }
protected function isExternal ( string $ path ) : bool { foreach ( $ this -> schemes as $ scheme ) { if ( strpos ( $ path , $ scheme ) !== false ) { return true ; } } return false ; }
Check if given path is an external asset or not.

@param string $path

@return bool
Check if given path is an external asset or not .