When .empty() is invoked, it returns Optional.empty which basically means null, but since its an Object, we can chain this, without getting NullPointerExceptions. So at every method, we should check if we are dealing with OptionalEmpty, by checking isPresent(). If Optional.empty, handle exception