code: def test_is_unaligned_checkpointing_enabled(self):
      self.assertFalse(
          self.checkpoint_config.is_unaligned_checkpoints_enabled()
      )
      self.assertFalse(
          self.checkpoint_config.is_force_unaligned_checkpoints()
      )
      self.assertEqual(
          self.checkpoint_config.get_alignment_timeout(),
          Duration.of_millis(0),
      )
  
      self.checkpoint_config.enable_unaligned_checkpoints()
      self.assertTrue(
          self.checkpoint_config.is_unaligned_checkpoints_enabled()
      )
  
      self.checkpoint_config.disable_unaligned_checkpoints()
      self.assertFalse(
          self.checkpoint_config.is_unaligned_checkpoints_enabled()
      )
  
      self.checkpoint_config.enable_unaligned_checkpoints(True)
      self.assertTrue(
          self.checkpoint_config.is_unaligned_checkpoints_enabled()
      )
  
      self.checkpoint_config.set_force_unaligned_checkpoints(True)
      self.assertTrue(
          self.checkpoint_config.is_force_unaligned_checkpoints()
      )
  
      self.checkpoint_config.set_alignment_timeout(
          Duration.of_minutes(1)
      )
      self.assertEqual(
          self.checkpoint_config.get_alignment_timeout(),
          Duration.of_minutes(1),
      )
  
file_path: flink/flink-python/pyflink/datastream/tests/test_check_point_config.py
imports: from pyflink.common import Duration
  from pyflink.datastream import CheckpointConfig, CheckpointingMode, ExternalizedCheckpointCleanup, StreamExecutionEnvironment
  from pyflink.java_gateway import get_gateway
  from pyflink.testing.test_case_utils import PyFlinkTestCase
label_desc: Use image node_id 12 for calling the CheckpointConfigTests obj's underlying member method code with example usage: obj.test_is_unaligned_checkpointing_enabled() without return types