public static function isAbsoluteUrl($_path)
    {
        $url = parse_url($_path);

        return $url !== false && isset($url['scheme']) && $url['scheme'] != '';
    }
public static function isAbsoluteUrl($_path)
    {
        $url = parse_url($_path);

        return $url !== false && isset($url['scheme']) && $url['scheme'] != '';
    }
public static function isAbsoluteUrl ( $ _path ) { $ url = parse_url ( $ _path ) ; return $ url !== false && isset ( $ url [ 'scheme' ] ) && $ url [ 'scheme' ] != '' ; }
Check is url absolute

@param string $_path
@return bool
Check is url absolute