code: public boolean isMatched(String value, Boolean defaultValue)
      {
          if (value == null)
              return false;
  
          if (_match != null) {
              for (int i = 0; i < _match.length; i++) {
                  if (value.equals(_match[i]))
                      return true;
              }
          }
          else {
              // a provided default value will override the group
              if (defaultValue != null)
                  return defaultValue.booleanValue();
  
              // if we have a singleton definition then use that
              if (_defaultSingleton)
                  return _defaultSingleValue;
  
              // check to see if we have a default arraylist with the value in it
              if (_defaultSelections != null)
                  return _defaultSelections.contains(value);
          }
  
          return false;
      }
docs: Checks whether the given value matches one of the CheckBoxGroup's selected
  CheckBoxOptions.
  @param value Value to be compared