Check whether a product is already in a collection before adding it