@staticmethod
    def _flag(flag_name, bool_value):
        elm = etree.Element(flag_name)
        elm.text = "true" if bool_value else "false"
        return elm
Generates element for JMX flag node
dataset/ETHPy150Open Blazemeter/taurus/bzt/jmx.py/JMX._flag