diff --git a/moonraker/confighelper.py b/moonraker/confighelper.py index c8d7975..2cd60f3 100644 --- a/moonraker/confighelper.py +++ b/moonraker/confighelper.py @@ -60,6 +60,9 @@ class ConfigHelper: def __contains__(self, key: str) -> bool: return key in self.config + def has_option(self, option: str) -> bool: + return self.config.has_option(self.section, option) + def get_name(self) -> str: return self.section