public static bool TryResolveSnapshotKeeper(this IComponentContext context,
                                                    [NotNullWhen(returnValue: true)] out IDraftSnapshotKeeper?instance)
        {
            if (context.TryResolveWithoutException(out instance))
            {
                return(instance.TradingDay != default(DateTime));
            }

            return(false);
        }