code: public boolean acceptsValue(String value) {
  		if (value==null) {
  			return false;
  		} else if (hasValues()) {
  			return getValuesList().contains(value);
  		} else {
  			return true;
  		}
  	}
docs: Returns true if this option accepts the specified value
  @param value the value to test
  @return true if the option accepts the value, false otherwise