code: public static Object getFirstOption(final List<?> options) {
  		if (options != null) {
  			for (Object option : options) {
  				if (option instanceof OptionGroup) {
  					List<?> groupOptions = ((OptionGroup) option).getOptions();
  					if (groupOptions != null && !groupOptions.isEmpty()) {
  						return groupOptions.get(0);
  					}
  				} else {
  					return option;
  				}
  			}
  		}
  		return null;
  	}
docs: Retrieve the first option. The first option maybe within an option group.
  
  @param options the list of options
  @return true the first option