code: def HasIndex(self, index):
          
          for i in self.Items:
              if i.index == index:
                  return True
          return False
docs: Flag indicating the index exists in any of the spent coin items.
          Args:
              index (int):
  
          Returns: