src/query_plan.js
function(vars, groupVars) {

        for(var j=0; j<vars.length; j++) {
            var thisVar = "/"+vars[j]+"/";
            if(groupVars.indexOf(thisVar) != -1) {
                return true;
            }
        }

        return false;
    }
function(vars, groupVars) {

        for(var j=0; j<vars.length; j++) {
            var thisVar = "/"+vars[j]+"/";
            if(groupVars.indexOf(thisVar) != -1) {
                return true;
            }
        }

        return false;
    }
function ( vars , groupVars ) { for ( var j = 0 ; j < vars . length ; j ++ ) { var thisVar = "/" + vars [ j ] + "/" ; if ( groupVars . indexOf ( thisVar ) != - 1 ) { return true ; } } return false ; }
Returns true if the any of the passed vars are in the vars associated to the group.
Returns true if the any of the passed vars are in the vars associated to the group .