def get_option_bool(self, section, name, defvalue=None):
        if not self.config.has_option(section, name):
            return defvalue
        value = self.config.get(section, name).strip()
        if value.lower() in ["true", "yes"]:
            return True
        return False
dataset/ETHPy150Open berrange/gerrymander/gerrymander/commands.py/CommandConfig.get_option_bool/original