code: public static <E> CompletableSource resolveScopeFromLifecycle(
        final LifecycleScopeProvider<E> provider) throws OutsideScopeException {
      return resolveScopeFromLifecycle(provider, true);
    }
docs: Overload for resolving lifecycle providers that defaults to checking start and end boundaries
  of lifecycles. That is, they will ensure that the lifecycle has both started and not ended.
  
  <p><em>Note:</em> This resolves the scope immediately, so consider deferring execution as
  needed, such as using {@link Completable#defer(Callable) defer}.
  
  @param provider the {@link LifecycleScopeProvider} to resolve.
  @param <E> the lifecycle event type
  @return a resolved {@link CompletableSource} representation of a given provider
  @throws OutsideScopeException if the {@link LifecycleScopeProvider#correspondingEvents()}
  throws an {@link OutsideScopeException} during resolution.