<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_material(self, material):
 """Add a material to the mesh, IF it's not already present."""

        if self.has_material(material):
            return

        self.materials.append(material)