function isFromCDN(publicPath) {
    return publicPath.startsWith('http://')
        || publicPath.startsWith('https://')
        || publicPath.startsWith('//');
}
whether the publicPath is from cdn

@param {string} publicPath publicPath
@return {boolean} is from cdn