pub fn optional(generator: impl Generator + 'static) -> impl Generator
optional is a helper to create an Optional Generator