title: How can i return an Optional object if the list is empty
body: <p>Need to filter through a list of items and check if item.discount() &lt;= 0, in case none are found return Optional object type.</p>
  <p>This is a code for adding values to list but I don't know how to get Optional object if the list is empty</p>
  <pre><code>Optional&lt;List&lt;Item&gt;&gt; discFit = Optional.of(items
             .stream()
             .filter(item -&gt; item.getDiscount() &lt;= 0)
             .collect(Collectors.toList()));
  </code></pre>