def has(self, flag):
        """
        Whether the given optimization is enabled.
        """
        
        return flag in self.__optimizations
dataset/ETHPy150Open zynga/jasy/jasy/js/output/Optimization.py/Optimization.has/original