title: How to add an item only if no other items exist with the same name in the arraylist?
body: <p>How would I go about only inserting an item if the item does not have the same name as the other items in the arraylist within my insertUniqueItem() method? </p>
  
  <pre><code>    public void insertUniqueItem()
      {
  
      }
  
      public static void main(String[] args)
      {
          ShoppingCart sc = new ShoppingCart();
          Item a = new Item("Kraft Cheese", 4, "\"Best Cheese in Town!\"");
          Item b = new Item("Bottle of Water", 2.50, "\"Refreshing Water!\"");
  
          sc.insertItem(a);
          sc.insertItem(b);
  
          sc.printInvoice();
          sc.insertUniqueItem();
  
          sc.print();
  
          DecimalFormat df = new DecimalFormat("#.00");
  
          System.out.println("Total Price: $" + df.format(sc.getTotal()));
      }
  }
  </code></pre>