docstr: Prepend BOS and append target lang ID token to the target (e.g. mBART with language token pretraining).
docstr_tok: ["Prepend","BOS","and","append","target","lang","ID","token","to","the","target","(","e.g",".","mBART","with","language","token","pretraining",")","."]
code: def prepend_bos_and_append_tgt_lang_tag(self) -> bool:
      """Prepend BOS and append target lang ID token to the target (e.g. mBART with language token pretraining)."""
      return self.config.get(
          "prepend_bos_and_append_tgt_lang_tag", False
      )
  
imports: import logging
  from argparse import Namespace
  from copy import deepcopy
  from pathlib import Path
  from typing import Dict, Optional
  from fairseq.data import Dictionary
label_desc: Use image node_id 10 for calling the SingleTaskConfig obj's underlying member method code with example usage: obj.prepend_bos_and_append_tgt_lang_tag() and returns: self