public function isValidUrl( $path )
	{
		if ( Str::startsWith( $path, ['#', '//', 'mailto:', 'tel:', 'http://', 'https://'] ) )
			return true;

		return filter_var( $path, FILTER_VALIDATE_URL ) !== false;
	}
public function isValidUrl( $path )
	{
		if ( Str::startsWith( $path, ['#', '//', 'mailto:', 'tel:', 'http://', 'https://'] ) )
			return true;

		return filter_var( $path, FILTER_VALIDATE_URL ) !== false;
	}
public function isValidUrl ( $ path ) { if ( Str :: startsWith ( $ path , [ '#' , '//' , 'mailto:' , 'tel:' , 'http://' , 'https://' ] ) ) return true ; return filter_var ( $ path , FILTER_VALIDATE_URL ) !== false ; }
Determine if the given path is a valid URL.

@param  string $path
@return bool
Determine if the given path is a valid URL .