def attach_shape_instance_material(self,
                                       name=DEFAULT_NODE_NAME,
                                       shape_instance=DEFAULT_INSTANCE_NAME,
                                       material=DEFAULT_MATERIAL_NAME):
        """Attach a node connecting a material to the JSON representation."""
        assert isinstance(name, NodeName)
        if not material == self.asset['materials']:
            LOG.info("nodes:%s:referencing missing material:%s", name, material)
        else:
            LOG.debug("nodes:%s:material:%s", name, material)
        instance = self.__retrieve_shape_instance(name, shape_instance)
        instance['material'] = material
dataset/ETHPy150Open turbulenz/turbulenz_tools/turbulenz_tools/tools/asset2json.py/JsonAsset.attach_shape_instance_material/operator `in` -> `==`