code: def has_insert(self, shape):
          
          for insert in self.inserts:
              if insert.shape == shape:
                  return True
          return False
docs: Returns True if any of the inserts have the given shape.