@presentation.render_for(BoardLabels)
@presentation.render_for(BoardLabels, model='edit')
def render_BoardLabels_edit(self, h, comp, *args):
    with h.div(class_='panel-section'):
        h << h.div(_(u'Card labels'), class_='panel-section-title')
        with h.ul(class_='board-labels clearfix'):
            for title, label in self.labels:
                with h.li:
                    with h.div(class_='label-title'):
                        h << title.render(h.AsyncRenderer())
                    with h.div(class_='label-color'):
                        h << label
    return h.root
Return true if switch is on.
dataset/ETHPy150Open Net-ng/kansha/kansha/board/view.py/render_BoardLabels_edit--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/switch/dlink.py/SmartPlugSwitch.is_on