public boolean isCheckpointingEnabled() {

        if (snapshotSettings == null) {
            return false;
        }

        return snapshotSettings.getCheckpointCoordinatorConfiguration().isCheckpointingEnabled();
    }
@Test
    public void checkpointingIsDisabledByDefaultForStreamingJobGraph() {
        final JobGraph jobGraph = JobGraphBuilder.newStreamingJobGraphBuilder().build();

        assertFalse(jobGraph.isCheckpointingEnabled());
    }