<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_volume(self, volume):
 """ Add a volume to self.volumes if it isn't already present """

        for old_vol in self.volumes:
            if volume == old_vol:
                return
        self.volumes.append(volume)