code: def has_opt(self, opt):
          
          for sec in self.sections:
              val = self.cp.has_option(sec, opt)
              if val:
                  return val
  
          return False
docs: Check if option is present in configuration file
  
          Parameters
          -----------
          opt : string
              Name of option (e.g. output-file-format)