yt.config.YTConfigParser.has_section

YTConfigParser.has_section(section)

Indicate whether the named section is present in the configuration.

The DEFAULT section is not acknowledged.