mpas_tools.config.MpasConfigParser.has_option

MpasConfigParser.has_option(section, option)[source]

Whether the given section has the given option

Parameters
  • section (str) – The name of the config section

  • option (str) – The name of the config option

Returns

found (bool) – Whether the option was found in the section