class_docstr: Definition for a Boolean flag.
  
  A boolean flag is always optional with a default value of False. The flag does
  not take any values. Specifying the flag on the commandline will set it to
  True.
class_docstr_tok: ["Definition","for","a","Boolean","flag",".","A","boolean","flag","is","always","optional","with","a","default","value","of","False",".","The","flag","does","not","take","any","values",".","Specifying","the","flag","on","the","commandline","will","set","it","to","True","."]
code: def _do_additional_validation(self) -> None:
      if self.dest_type is not None:
          raise ValueError("dest_type cannot be set for BooleanFlagDef")
      if self.parse_to_dest_type_fn is not None:
          raise ValueError(
              "parse_to_dest_type_fn cannot be set for BooleanFlagDef"
          )
      if self.choices is not None:
          raise ValueError("choices cannot be set for BooleanFlagDef")
  
imports: from __future__ import annotations
  import abc
  import argparse
  import dataclasses
  import enum
  from typing import Any, Callable, Sequence, Tuple, Union
  from google.generativeai.notebook.lib import llmfn_inputs_source
  from google.generativeai.notebook.lib import llmfn_outputs
label_desc: Use image node_id 1 for calling the BooleanFlagDef obj's underlying member method code with example usage: obj._do_additional_validation() without return types