/**
* Check if the Path is External
*
* @param string $path Path to test
*
* @return boolean
*
* @since 4.0.0
*/
protected function isPathExternal(string $path) : bool
{
return strpos($path, 'http://') === 0 || strpos($path, 'https://') === 0 || strpos($path, '//') === 0;
}