<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def has_insert(self, shape):
 """Returns True if any of the inserts have the given shape."""

        for insert in self.inserts:
            if insert.shape == shape:
                return True
        return False