yt.config.YTConfigParser.has_option

YTConfigParser.has_option(section, option)

Check for the existence of a given option in a given section.