- /**
- * Checks whether the given item has already been added by checking the
- * item's id.
- *
- * @param item Item instance to check
- * @return Whether the given item has been found
- */
- public boolean isAdded (final T item);
-
- /**
- * Checks if the basket is empty
- *
- * @return Whether the basket is empty
- */
- public boolean isEmpty ();
-