function isLocalUrl(url) {
        return !url.match(/^(https?:\/\/|mailto:)/) || url.indexOf(base) === 0;
    }
Check whether a URL is local to this site
@name _pjs.isLocalUrl
@param {String} url      URL to check
@return {Boolean}        Whether this URL is local