public static bool IsValid([NotNull] this CycleProcessingContext context) { if (context == null) { throw new ArgumentNullException(nameof(context)); } return(context.TryGetExceptionContextParams() == null); }