<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def draw(self):

 """Draws the image at the given location."""

        if not self.visible:
            return

        self.window.blit(self.image, self.loc)