$config.hassection
Checks whether a section is present in a config file
Usage
$config.hassection(<id>,<section_name>)
Description
Returns 1 if the section <section_name> exists in the config file identifier by <id>, and 0 otherwise.
<id> must be a valid config identifier returned by $config.open()
See also
config module documentation

Index, Functions