code: public static ConfigParams resolve(ConfigParams config, boolean configAsDefault) {
  		ConfigParams options = config.getSection("options");
  
  		if (options.size() == 0 && configAsDefault)
  			options = config;
  
  		return options;
  	}
docs: Resolves an "options" configuration section from component configuration
  parameters.
  
  @param config          configuration parameters
  @param configAsDefault (optional) When set true the method returns the entire
  parameter set when "options" section is not found.
  Default: false
  @return configuration parameters from "options" section