code: def get_option(self, optionname, default=0):
          
  
          global_options = ('verify', 'all_logs', 'log_size', 'plugin_timeout')
  
          if optionname in global_options:
              return getattr(self.commons['cmdlineopts'], optionname)
  
          for name, parms in zip(self.opt_names, self.opt_parms):
              if name == optionname:
                  val = parms['enabled']
                  if val is not None:
                      return val
  
          return default
docs: Returns the first value that matches 'optionname' in parameters
          passed in via the command line or set via set_option or via the
          global_plugin_options dictionary, in that order.
  
          optionaname may be iterable, in which case the first option that
          matches any of the option names is returned.