code: def test_additional_cli_options_flag(command_line_option):
      executed = [False]
  
      @cli_option("-w", "--warning", is_flag=True)
      def dummy_option(args, run):
          executed[0] = True
  
      experiment = Experiment(
          "ator3000", additional_cli_options=[dummy_option]
      )
  
      @experiment.main
      def foo():
          pass
  
      experiment.run_commandline([__file__, command_line_option])
      assert executed[0]
  
imports: from sacred import Ingredient
  from mock import patch
  import pytest
  import sys
  from sacred import cli_option
  from sacred import host_info_gatherer
  from sacred.experiment import Experiment
  from sacred.utils import apply_backspaces_and_linefeeds, ConfigAddedError, SacredError
label_desc: Use image node_id 23 for calling a global function with example usage: test_additional_cli_options_flag(command_line_option) without return types