docs: function inGroups(testGroups, filter){
              if (!filter.length){
                  return true;
              } else {
                  if (testGroups){
                      for (var i=0, len=testGroups.length; i < len; i++){
                          if (filter.indexOf("," + testGroups[i] + ",") > -1){
                              return true;
                          }
                      }
                  }
                  return false;
              }
          }