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
ipdoctest must handle simple inputs
dataset/ETHPy150Open securitykiss-com/rfw/rfw/config.py/Config._getflag--crossover with--dataset/ETHPy150Open ipython/ipython-py3k/IPython/testing/plugin/test_ipdoctest.py/doctest_simple