def has_option(self, opt_str):
        return (opt_str in self._short_opt or
                opt_str in self._long_opt)
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/optparse.py/OptionContainer.has_option/original