def _getflag(self, opt, log_msg=""):
        try:
            #None means that the option is present in the config file
            return self._get(opt) is None
        except NoOptionError:
            #ignore, no such option is a valid case. Optionally log the info message
            if log_msg:
                log.info(log_msg)
        return False

    # throws NoOptionError or ConfigError
Return True if valueless option present in config file. False otherwise.
dataset/ETHPy150Open securitykiss-com/rfw/rfw/config.py/Config._getflag