function hasAliasPath( list, path ) {
	var tmp;
	var N;
	var v;
	var i;
	var j;

	N = path.length;
	tmp = [ path[ 0 ] ];
	for ( i = 1; i < N; i++ ) {
		tmp.push( tmp[ i-1 ]+'.'+tmp[ i ] );
	}
	for ( i = 0; i < list.length; i++ ) {
		v = list[ i ];
		for ( j = 0; j < N; j++ ) {
			if ( v === tmp[ j ] ) {
				return true;
			}
		}
	}
	return false;
}
Tests whether an alias is already accounted for in a global variable name list.

@private
@param {Array} list - list of global variable names
@param {Array} path - alias "path"
@returns {boolean} boolean indicating whether an alias is already accounted for