Return a boolean if the Optional is empty Write two snippets of code for exemplifying two solutions for returning a boolean if the given Optional is empty.