def has_material(self, new_material):
        for material in self.materials:
            if material.name == new_material.name: return True
        return False
Determine whether we already have a material of this name.
dataset/ETHPy150Open greenmoss/PyWavefront/pywavefront/mesh.py/Mesh.has_material