code: def process_code_block(code, add_new_line=True):
      if add_new_line:
          return maybe_append_new_line(code)
      else:
          return maybe_remove_new_line(code)
  
file_path: optimum/tests/utils/prepare_for_doc_test.py
imports: import argparse
  import os
label_desc: Use image node_id 1 for calling a global function with example usage: process_code_block(code, add_new_line) and returns: maybe_append_new_line, maybe_remove_new_line