def METHOD_NAME(self):
    option = libdnf.conf.OptionBool(True)
    try:
        option.set(PRIO_DEFAULT, self._parser.getData()["main"]["enabled"])
    except IndexError:
        pass
    return option.getValue()