shouldSanityCheck

Whether to sanity-check the graph between optimization steps.