How to check to see if an object with this name already exists in the List?
    @PostMapping
public String add(@RequestBody Produto item){
    if(produtos.contains(item) == ){
        return existente;
    } 
        produtos.add(item);
        return item.getNomeProduto();
    }
}
 
    