code: def _valid_config(config, required):
      '''
      .. todo:: add documentation of this method
  
      ``config``: doxygen input we're looking for
      ``required``: if ``True``, must be present.  if ``False``, NOT ALLOWED to be present
      '''
      re_template = r"\s*{config}\s*=.*".format(config=config)
      found = re.search(re_template, configs.exhaleDoxygenStdin)
      if required:
          return found is not None
      else:
          return found is Nonf _valid_config(config, required):
      '''
      .. todo:: add documentation of this method
  
      ``config``: doxygen input we're looking for
      ``required``: if ``True``, must be present.  if ``False``, NOT ALLOWED to be present
      '''
      re_template = r"\s*{config}\s*=.*".format(config=config)
      found = re.search(re_template, configs.exhaleDoxygenStdin)
      if required:
          return found is not None
      else:
          return found is None
docs: .. todo:: add documentation of this method
  
      ``config``: doxygen input we're looking for
      ``required``: if ``True``, must be present.  if ``False``, NOT ALLOWED to be present