def attach_node_light_instance(self, name=DEFAULT_NODE_NAME,
                                   light_instance=DEFAULT_INSTANCE_NAME,
                                   light=DEFAULT_LIGHT_NAME,
                                   disabled=False):
        """Attach a node connecting a light and transform to the JSON representation."""
        assert isinstance(name, NodeName)
        assert light < self.asset['lights']
        LOG.debug("nodes:%s:light:%s", name, light)
        instance = self.__retrieve_light_instance(name, light_instance)
        instance['light'] = light
        if disabled:
            instance['disabled'] = disabled
dataset/ETHPy150Open turbulenz/turbulenz_tools/turbulenz_tools/tools/asset2json.py/JsonAsset.attach_node_light_instance/operator `in` -> `<`